sr9700.c (597473720f4dc69749542bfcfed4a927a43d935e) sr9700.c (323955a0498ccaa1263e369b91efd8f4310768b6)
1/*
2 * CoreChip-sz SR9700 one chip USB 1.1 Ethernet Devices
3 *
4 * Author : Liu Junliang <liujunliang_ljl@163.com>
5 *
6 * Based on dm9601.c
7 *
8 * This file is licensed under the terms of the GNU General Public License

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

303}
304
305static const struct net_device_ops sr9700_netdev_ops = {
306 .ndo_open = usbnet_open,
307 .ndo_stop = usbnet_stop,
308 .ndo_start_xmit = usbnet_start_xmit,
309 .ndo_tx_timeout = usbnet_tx_timeout,
310 .ndo_change_mtu = usbnet_change_mtu,
1/*
2 * CoreChip-sz SR9700 one chip USB 1.1 Ethernet Devices
3 *
4 * Author : Liu Junliang <liujunliang_ljl@163.com>
5 *
6 * Based on dm9601.c
7 *
8 * This file is licensed under the terms of the GNU General Public License

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

303}
304
305static const struct net_device_ops sr9700_netdev_ops = {
306 .ndo_open = usbnet_open,
307 .ndo_stop = usbnet_stop,
308 .ndo_start_xmit = usbnet_start_xmit,
309 .ndo_tx_timeout = usbnet_tx_timeout,
310 .ndo_change_mtu = usbnet_change_mtu,
311 .ndo_get_stats64 = usbnet_get_stats64,
311 .ndo_get_stats64 = dev_get_tstats64,
312 .ndo_validate_addr = eth_validate_addr,
313 .ndo_do_ioctl = sr9700_ioctl,
314 .ndo_set_rx_mode = sr9700_set_multicast,
315 .ndo_set_mac_address = sr9700_set_mac_address,
316};
317
318static int sr9700_bind(struct usbnet *dev, struct usb_interface *intf)
319{

--- 236 unchanged lines hidden ---
312 .ndo_validate_addr = eth_validate_addr,
313 .ndo_do_ioctl = sr9700_ioctl,
314 .ndo_set_rx_mode = sr9700_set_multicast,
315 .ndo_set_mac_address = sr9700_set_mac_address,
316};
317
318static int sr9700_bind(struct usbnet *dev, struct usb_interface *intf)
319{

--- 236 unchanged lines hidden ---