ax88172a.c (ead5d1f4d877e92c051e1a1ade623d0d30e71619) ax88172a.c (323955a0498ccaa1263e369b91efd8f4310768b6)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * ASIX AX88172A based USB 2.0 Ethernet Devices
4 * Copyright (C) 2012 OMICRON electronics GmbH
5 *
6 * Supports external PHYs via phylib. Based on the driver for the
7 * AX88772. Original copyrights follow:
8 *

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

115}
116
117static const struct net_device_ops ax88172a_netdev_ops = {
118 .ndo_open = usbnet_open,
119 .ndo_stop = usbnet_stop,
120 .ndo_start_xmit = usbnet_start_xmit,
121 .ndo_tx_timeout = usbnet_tx_timeout,
122 .ndo_change_mtu = usbnet_change_mtu,
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * ASIX AX88172A based USB 2.0 Ethernet Devices
4 * Copyright (C) 2012 OMICRON electronics GmbH
5 *
6 * Supports external PHYs via phylib. Based on the driver for the
7 * AX88772. Original copyrights follow:
8 *

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

115}
116
117static const struct net_device_ops ax88172a_netdev_ops = {
118 .ndo_open = usbnet_open,
119 .ndo_stop = usbnet_stop,
120 .ndo_start_xmit = usbnet_start_xmit,
121 .ndo_tx_timeout = usbnet_tx_timeout,
122 .ndo_change_mtu = usbnet_change_mtu,
123 .ndo_get_stats64 = usbnet_get_stats64,
123 .ndo_get_stats64 = dev_get_tstats64,
124 .ndo_set_mac_address = asix_set_mac_address,
125 .ndo_validate_addr = eth_validate_addr,
126 .ndo_do_ioctl = phy_do_ioctl_running,
127 .ndo_set_rx_mode = asix_set_multicast,
128};
129
130static const struct ethtool_ops ax88172a_ethtool_ops = {
131 .get_drvinfo = asix_get_drvinfo,

--- 234 unchanged lines hidden ---
124 .ndo_set_mac_address = asix_set_mac_address,
125 .ndo_validate_addr = eth_validate_addr,
126 .ndo_do_ioctl = phy_do_ioctl_running,
127 .ndo_set_rx_mode = asix_set_multicast,
128};
129
130static const struct ethtool_ops ax88172a_ethtool_ops = {
131 .get_drvinfo = asix_get_drvinfo,

--- 234 unchanged lines hidden ---