smsc95xx.c (4f6b838c378a52ea3ae0b15f12ca8a20849072fa) | smsc95xx.c (323955a0498ccaa1263e369b91efd8f4310768b6) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-or-later 2 /*************************************************************************** 3 * 4 * Copyright (C) 2007-2008 SMSC 5 * 6 *****************************************************************************/ 7 8#include <linux/module.h> --- 1027 unchanged lines hidden (view full) --- 1036} 1037 1038static const struct net_device_ops smsc95xx_netdev_ops = { 1039 .ndo_open = usbnet_open, 1040 .ndo_stop = usbnet_stop, 1041 .ndo_start_xmit = usbnet_start_xmit, 1042 .ndo_tx_timeout = usbnet_tx_timeout, 1043 .ndo_change_mtu = usbnet_change_mtu, | 1// SPDX-License-Identifier: GPL-2.0-or-later 2 /*************************************************************************** 3 * 4 * Copyright (C) 2007-2008 SMSC 5 * 6 *****************************************************************************/ 7 8#include <linux/module.h> --- 1027 unchanged lines hidden (view full) --- 1036} 1037 1038static const struct net_device_ops smsc95xx_netdev_ops = { 1039 .ndo_open = usbnet_open, 1040 .ndo_stop = usbnet_stop, 1041 .ndo_start_xmit = usbnet_start_xmit, 1042 .ndo_tx_timeout = usbnet_tx_timeout, 1043 .ndo_change_mtu = usbnet_change_mtu, |
1044 .ndo_get_stats64 = usbnet_get_stats64, | 1044 .ndo_get_stats64 = dev_get_tstats64, |
1045 .ndo_set_mac_address = eth_mac_addr, 1046 .ndo_validate_addr = eth_validate_addr, 1047 .ndo_do_ioctl = smsc95xx_ioctl, 1048 .ndo_set_rx_mode = smsc95xx_set_multicast, 1049 .ndo_set_features = smsc95xx_set_features, 1050}; 1051 1052static int smsc95xx_bind(struct usbnet *dev, struct usb_interface *intf) --- 1033 unchanged lines hidden --- | 1045 .ndo_set_mac_address = eth_mac_addr, 1046 .ndo_validate_addr = eth_validate_addr, 1047 .ndo_do_ioctl = smsc95xx_ioctl, 1048 .ndo_set_rx_mode = smsc95xx_set_multicast, 1049 .ndo_set_features = smsc95xx_set_features, 1050}; 1051 1052static int smsc95xx_bind(struct usbnet *dev, struct usb_interface *intf) --- 1033 unchanged lines hidden --- |