mcs7830.c (58e16d792a6a8c6b750f637a4649967fcac853dc) mcs7830.c (323955a0498ccaa1263e369b91efd8f4310768b6)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * MOSCHIP MCS7830 based (7730/7830/7832) USB 2.0 Ethernet Devices
4 *
5 * based on usbnet.c, asix.c and the vendor provided mcs7830 driver
6 *
7 * Copyright (C) 2010 Andreas Mohr <andi@lisas.de>
8 * Copyright (C) 2006 Arnd Bergmann <arnd@arndb.de>

--- 448 unchanged lines hidden (view full) ---

457};
458
459static const struct net_device_ops mcs7830_netdev_ops = {
460 .ndo_open = usbnet_open,
461 .ndo_stop = usbnet_stop,
462 .ndo_start_xmit = usbnet_start_xmit,
463 .ndo_tx_timeout = usbnet_tx_timeout,
464 .ndo_change_mtu = usbnet_change_mtu,
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * MOSCHIP MCS7830 based (7730/7830/7832) USB 2.0 Ethernet Devices
4 *
5 * based on usbnet.c, asix.c and the vendor provided mcs7830 driver
6 *
7 * Copyright (C) 2010 Andreas Mohr <andi@lisas.de>
8 * Copyright (C) 2006 Arnd Bergmann <arnd@arndb.de>

--- 448 unchanged lines hidden (view full) ---

457};
458
459static const struct net_device_ops mcs7830_netdev_ops = {
460 .ndo_open = usbnet_open,
461 .ndo_stop = usbnet_stop,
462 .ndo_start_xmit = usbnet_start_xmit,
463 .ndo_tx_timeout = usbnet_tx_timeout,
464 .ndo_change_mtu = usbnet_change_mtu,
465 .ndo_get_stats64 = usbnet_get_stats64,
465 .ndo_get_stats64 = dev_get_tstats64,
466 .ndo_validate_addr = eth_validate_addr,
467 .ndo_do_ioctl = mcs7830_ioctl,
468 .ndo_set_rx_mode = mcs7830_set_multicast,
469 .ndo_set_mac_address = mcs7830_set_mac_address,
470};
471
472static int mcs7830_bind(struct usbnet *dev, struct usb_interface *udev)
473{

--- 157 unchanged lines hidden ---
466 .ndo_validate_addr = eth_validate_addr,
467 .ndo_do_ioctl = mcs7830_ioctl,
468 .ndo_set_rx_mode = mcs7830_set_multicast,
469 .ndo_set_mac_address = mcs7830_set_mac_address,
470};
471
472static int mcs7830_bind(struct usbnet *dev, struct usb_interface *udev)
473{

--- 157 unchanged lines hidden ---