int51x1.c (58e16d792a6a8c6b750f637a4649967fcac853dc) int51x1.c (323955a0498ccaa1263e369b91efd8f4310768b6)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * Copyright (c) 2009 Peter Holik
4 *
5 * Intellon usb PLC (Powerline Communications) usb net driver
6 *
7 * http://www.tandel.be/downloads/INT51X1_Datasheet.pdf
8 *

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

128}
129
130static const struct net_device_ops int51x1_netdev_ops = {
131 .ndo_open = usbnet_open,
132 .ndo_stop = usbnet_stop,
133 .ndo_start_xmit = usbnet_start_xmit,
134 .ndo_tx_timeout = usbnet_tx_timeout,
135 .ndo_change_mtu = usbnet_change_mtu,
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * Copyright (c) 2009 Peter Holik
4 *
5 * Intellon usb PLC (Powerline Communications) usb net driver
6 *
7 * http://www.tandel.be/downloads/INT51X1_Datasheet.pdf
8 *

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

128}
129
130static const struct net_device_ops int51x1_netdev_ops = {
131 .ndo_open = usbnet_open,
132 .ndo_stop = usbnet_stop,
133 .ndo_start_xmit = usbnet_start_xmit,
134 .ndo_tx_timeout = usbnet_tx_timeout,
135 .ndo_change_mtu = usbnet_change_mtu,
136 .ndo_get_stats64 = usbnet_get_stats64,
136 .ndo_get_stats64 = dev_get_tstats64,
137 .ndo_set_mac_address = eth_mac_addr,
138 .ndo_validate_addr = eth_validate_addr,
139 .ndo_set_rx_mode = int51x1_set_multicast,
140};
141
142static int int51x1_bind(struct usbnet *dev, struct usb_interface *intf)
143{
144 int status = usbnet_get_ethernet_addr(dev, 3);

--- 45 unchanged lines hidden ---
137 .ndo_set_mac_address = eth_mac_addr,
138 .ndo_validate_addr = eth_validate_addr,
139 .ndo_set_rx_mode = int51x1_set_multicast,
140};
141
142static int int51x1_bind(struct usbnet *dev, struct usb_interface *intf)
143{
144 int status = usbnet_get_ethernet_addr(dev, 3);

--- 45 unchanged lines hidden ---