int51x1.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) int51x1.c (c8b5d129ee293bcf972e7279ac996bb8a138505c)
1/*
2 * Copyright (c) 2009 Peter Holik
3 *
4 * Intellon usb PLC (Powerline Communications) usb net driver
5 *
6 * http://www.tandel.be/downloads/INT51X1_Datasheet.pdf
7 *
8 * Based on the work of Jan 'RedBully' Seiffert

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

139}
140
141static const struct net_device_ops int51x1_netdev_ops = {
142 .ndo_open = usbnet_open,
143 .ndo_stop = usbnet_stop,
144 .ndo_start_xmit = usbnet_start_xmit,
145 .ndo_tx_timeout = usbnet_tx_timeout,
146 .ndo_change_mtu = usbnet_change_mtu,
1/*
2 * Copyright (c) 2009 Peter Holik
3 *
4 * Intellon usb PLC (Powerline Communications) usb net driver
5 *
6 * http://www.tandel.be/downloads/INT51X1_Datasheet.pdf
7 *
8 * Based on the work of Jan 'RedBully' Seiffert

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

139}
140
141static const struct net_device_ops int51x1_netdev_ops = {
142 .ndo_open = usbnet_open,
143 .ndo_stop = usbnet_stop,
144 .ndo_start_xmit = usbnet_start_xmit,
145 .ndo_tx_timeout = usbnet_tx_timeout,
146 .ndo_change_mtu = usbnet_change_mtu,
147 .ndo_get_stats64 = usbnet_get_stats64,
147 .ndo_set_mac_address = eth_mac_addr,
148 .ndo_validate_addr = eth_validate_addr,
149 .ndo_set_rx_mode = int51x1_set_multicast,
150};
151
152static int int51x1_bind(struct usbnet *dev, struct usb_interface *intf)
153{
154 int status = usbnet_get_ethernet_addr(dev, 3);

--- 45 unchanged lines hidden ---
148 .ndo_set_mac_address = eth_mac_addr,
149 .ndo_validate_addr = eth_validate_addr,
150 .ndo_set_rx_mode = int51x1_set_multicast,
151};
152
153static int int51x1_bind(struct usbnet *dev, struct usb_interface *intf)
154{
155 int status = usbnet_get_ethernet_addr(dev, 3);

--- 45 unchanged lines hidden ---