.. | .. |
---|
30 | 30 | /* housekeeping */ |
---|
31 | 31 | struct usb_device *udev; |
---|
32 | 32 | struct usb_interface *intf; |
---|
33 | | - struct driver_info *driver_info; |
---|
| 33 | + const struct driver_info *driver_info; |
---|
34 | 34 | const char *driver_name; |
---|
35 | 35 | void *driver_priv; |
---|
36 | 36 | wait_queue_head_t wait; |
---|
.. | .. |
---|
85 | 85 | # define EVENT_LINK_CHANGE 11 |
---|
86 | 86 | # define EVENT_SET_RX_MODE 12 |
---|
87 | 87 | # define EVENT_NO_IP_ALIGN 13 |
---|
88 | | - u32 rx_speed; /* in bps - NOT Mbps */ |
---|
89 | | - u32 tx_speed; /* in bps - NOT Mbps */ |
---|
90 | 88 | |
---|
91 | 89 | ANDROID_KABI_RESERVE(1); |
---|
92 | 90 | ANDROID_KABI_RESERVE(2); |
---|
.. | .. |
---|
130 | 128 | #define FLAG_MULTI_PACKET 0x2000 |
---|
131 | 129 | #define FLAG_RX_ASSEMBLE 0x4000 /* rx packets may span >1 frames */ |
---|
132 | 130 | #define FLAG_NOARP 0x8000 /* device can't do ARP */ |
---|
133 | | - |
---|
134 | | -#define FLAG_LTE 0x10000 /* use "lte%d" names */ |
---|
135 | 131 | |
---|
136 | 132 | /* init device ... can sleep, or cause probe() failure */ |
---|
137 | 133 | int (*bind)(struct usbnet *, struct usb_interface *); |
---|
.. | .. |
---|
221 | 217 | struct usb_interface *data; |
---|
222 | 218 | }; |
---|
223 | 219 | |
---|
| 220 | +extern void usbnet_cdc_update_filter(struct usbnet *dev); |
---|
224 | 221 | extern int usbnet_generic_cdc_bind(struct usbnet *, struct usb_interface *); |
---|
225 | 222 | extern int usbnet_ether_cdc_bind(struct usbnet *dev, struct usb_interface *intf); |
---|
226 | 223 | extern int usbnet_cdc_bind(struct usbnet *, struct usb_interface *); |
---|
.. | .. |
---|
267 | 264 | extern int usbnet_stop(struct net_device *net); |
---|
268 | 265 | extern netdev_tx_t usbnet_start_xmit(struct sk_buff *skb, |
---|
269 | 266 | struct net_device *net); |
---|
270 | | -extern void usbnet_tx_timeout(struct net_device *net); |
---|
| 267 | +extern void usbnet_tx_timeout(struct net_device *net, unsigned int txqueue); |
---|
271 | 268 | extern int usbnet_change_mtu(struct net_device *net, int new_mtu); |
---|
272 | 269 | |
---|
273 | 270 | extern int usbnet_get_endpoints(struct usbnet *, struct usb_interface *); |
---|
.. | .. |
---|
287 | 284 | extern u32 usbnet_get_link(struct net_device *net); |
---|
288 | 285 | extern u32 usbnet_get_msglevel(struct net_device *); |
---|
289 | 286 | extern void usbnet_set_msglevel(struct net_device *, u32); |
---|
| 287 | +extern void usbnet_set_rx_mode(struct net_device *net); |
---|
290 | 288 | extern void usbnet_get_drvinfo(struct net_device *, struct ethtool_drvinfo *); |
---|
291 | 289 | extern int usbnet_nway_reset(struct net_device *net); |
---|
292 | 290 | |
---|