mcs7830.c (c369898759e0e143a513d022121290370f001d01) | mcs7830.c (c8b5d129ee293bcf972e7279ac996bb8a138505c) |
---|---|
1/* 2 * MOSCHIP MCS7830 based (7730/7830/7832) USB 2.0 Ethernet Devices 3 * 4 * based on usbnet.c, asix.c and the vendor provided mcs7830 driver 5 * 6 * Copyright (C) 2010 Andreas Mohr <andi@lisas.de> 7 * Copyright (C) 2006 Arnd Bergmann <arnd@arndb.de> 8 * Copyright (C) 2003-2005 David Hollis <dhollis@davehollis.com> --- 461 unchanged lines hidden (view full) --- 470}; 471 472static const struct net_device_ops mcs7830_netdev_ops = { 473 .ndo_open = usbnet_open, 474 .ndo_stop = usbnet_stop, 475 .ndo_start_xmit = usbnet_start_xmit, 476 .ndo_tx_timeout = usbnet_tx_timeout, 477 .ndo_change_mtu = usbnet_change_mtu, | 1/* 2 * MOSCHIP MCS7830 based (7730/7830/7832) USB 2.0 Ethernet Devices 3 * 4 * based on usbnet.c, asix.c and the vendor provided mcs7830 driver 5 * 6 * Copyright (C) 2010 Andreas Mohr <andi@lisas.de> 7 * Copyright (C) 2006 Arnd Bergmann <arnd@arndb.de> 8 * Copyright (C) 2003-2005 David Hollis <dhollis@davehollis.com> --- 461 unchanged lines hidden (view full) --- 470}; 471 472static const struct net_device_ops mcs7830_netdev_ops = { 473 .ndo_open = usbnet_open, 474 .ndo_stop = usbnet_stop, 475 .ndo_start_xmit = usbnet_start_xmit, 476 .ndo_tx_timeout = usbnet_tx_timeout, 477 .ndo_change_mtu = usbnet_change_mtu, |
478 .ndo_get_stats64 = usbnet_get_stats64, |
|
478 .ndo_validate_addr = eth_validate_addr, 479 .ndo_do_ioctl = mcs7830_ioctl, 480 .ndo_set_rx_mode = mcs7830_set_multicast, 481 .ndo_set_mac_address = mcs7830_set_mac_address, 482}; 483 484static int mcs7830_bind(struct usbnet *dev, struct usb_interface *udev) 485{ --- 157 unchanged lines hidden --- | 479 .ndo_validate_addr = eth_validate_addr, 480 .ndo_do_ioctl = mcs7830_ioctl, 481 .ndo_set_rx_mode = mcs7830_set_multicast, 482 .ndo_set_mac_address = mcs7830_set_mac_address, 483}; 484 485static int mcs7830_bind(struct usbnet *dev, struct usb_interface *udev) 486{ --- 157 unchanged lines hidden --- |