sr9800.c (c369898759e0e143a513d022121290370f001d01) sr9800.c (c8b5d129ee293bcf972e7279ac996bb8a138505c)
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

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

674}
675
676static const struct net_device_ops sr9800_netdev_ops = {
677 .ndo_open = usbnet_open,
678 .ndo_stop = usbnet_stop,
679 .ndo_start_xmit = usbnet_start_xmit,
680 .ndo_tx_timeout = usbnet_tx_timeout,
681 .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

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

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

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

--- 182 unchanged lines hidden ---