sr9800.c (c95baf12f5077419db01313ab61c2aac007d40cd) sr9800.c (323955a0498ccaa1263e369b91efd8f4310768b6)
1/* CoreChip-sz SR9800 one chip USB 2.0 Ethernet Devices
2 *
3 * Author : Liu Junliang <liujunliang_ljl@163.com>
4 *
5 * Based on asix_common.c, asix_devices.c
6 *
7 * This file is licensed under the terms of the GNU General Public License
8 * version 2. This program is licensed "as is" without any warranty of any

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

676}
677
678static const struct net_device_ops sr9800_netdev_ops = {
679 .ndo_open = usbnet_open,
680 .ndo_stop = usbnet_stop,
681 .ndo_start_xmit = usbnet_start_xmit,
682 .ndo_tx_timeout = usbnet_tx_timeout,
683 .ndo_change_mtu = usbnet_change_mtu,
1/* CoreChip-sz SR9800 one chip USB 2.0 Ethernet Devices
2 *
3 * Author : Liu Junliang <liujunliang_ljl@163.com>
4 *
5 * Based on asix_common.c, asix_devices.c
6 *
7 * This file is licensed under the terms of the GNU General Public License
8 * version 2. This program is licensed "as is" without any warranty of any

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

676}
677
678static const struct net_device_ops sr9800_netdev_ops = {
679 .ndo_open = usbnet_open,
680 .ndo_stop = usbnet_stop,
681 .ndo_start_xmit = usbnet_start_xmit,
682 .ndo_tx_timeout = usbnet_tx_timeout,
683 .ndo_change_mtu = usbnet_change_mtu,
684 .ndo_get_stats64 = usbnet_get_stats64,
684 .ndo_get_stats64 = dev_get_tstats64,
685 .ndo_set_mac_address = sr_set_mac_address,
686 .ndo_validate_addr = eth_validate_addr,
687 .ndo_do_ioctl = sr_ioctl,
688 .ndo_set_rx_mode = sr_set_multicast,
689};
690
691static int sr9800_phy_powerup(struct usbnet *dev)
692{

--- 182 unchanged lines hidden ---
685 .ndo_set_mac_address = sr_set_mac_address,
686 .ndo_validate_addr = eth_validate_addr,
687 .ndo_do_ioctl = sr_ioctl,
688 .ndo_set_rx_mode = sr_set_multicast,
689};
690
691static int sr9800_phy_powerup(struct usbnet *dev)
692{

--- 182 unchanged lines hidden ---