diff options
author | Julian Wiedmann | 2019-01-25 15:44:18 +0100 |
---|---|---|
committer | David S. Miller | 2019-01-26 06:23:55 +0100 |
commit | e22355ea3f3cd6e3ff46b2c7d23c454762e82989 (patch) | |
tree | b3800d3c3b76004b2d1e6174cd938c61d72cc354 /drivers/s390/net/qeth_core.h | |
parent | s390/qeth: remove bogus netif_wake_queue() (diff) | |
download | kernel-qcow2-linux-e22355ea3f3cd6e3ff46b2c7d23c454762e82989.tar.gz kernel-qcow2-linux-e22355ea3f3cd6e3ff46b2c7d23c454762e82989.tar.xz kernel-qcow2-linux-e22355ea3f3cd6e3ff46b2c7d23c454762e82989.zip |
s390/qeth: consolidate open/stop netdev ops
The L2 and L3 code for these ops is almost identical, we only need to
provide a custom ndo_validate_addr() for L2 that checks whether
programming the MAC address succeeded.
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_core.h')
-rw-r--r-- | drivers/s390/net/qeth_core.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/s390/net/qeth_core.h b/drivers/s390/net/qeth_core.h index 0ee026947f20..ffec26ff512d 100644 --- a/drivers/s390/net/qeth_core.h +++ b/drivers/s390/net/qeth_core.h @@ -1047,6 +1047,10 @@ netdev_features_t qeth_fix_features(struct net_device *, netdev_features_t); netdev_features_t qeth_features_check(struct sk_buff *skb, struct net_device *dev, netdev_features_t features); +int qeth_open_internal(struct net_device *dev); +int qeth_open(struct net_device *dev); +int qeth_stop(struct net_device *dev); + int qeth_vm_request_mac(struct qeth_card *card); int qeth_xmit(struct qeth_card *card, struct sk_buff *skb, struct qeth_qdio_out_q *queue, int ipv, int cast_type, |