diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-03-20 15:35:54 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-21 22:41:01 -0400 |
commit | 777baa4711c6b8373f4e03a3a558d44a6b046d7a (patch) | |
tree | 5c6f4f07f1d72433f906437369e8ab81011b5870 /include/linux | |
parent | 805aaa29fa3c5afb26cb42f440f40d3f7f5c4bdc (diff) |
usbnet: support net_device_ops
Use net_device_ops for usbnet device, and export for use
by other derived drivers.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/usb/usbnet.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/usb/usbnet.h b/include/linux/usb/usbnet.h index 7d3822243074..36fabb95c7d3 100644 --- a/include/linux/usb/usbnet.h +++ b/include/linux/usb/usbnet.h | |||
@@ -176,6 +176,11 @@ struct skb_data { /* skb->cb is one of these */ | |||
176 | size_t length; | 176 | size_t length; |
177 | }; | 177 | }; |
178 | 178 | ||
179 | extern int usbnet_open (struct net_device *net); | ||
180 | extern int usbnet_stop (struct net_device *net); | ||
181 | extern int usbnet_start_xmit (struct sk_buff *skb, struct net_device *net); | ||
182 | extern void usbnet_tx_timeout (struct net_device *net); | ||
183 | extern int usbnet_change_mtu (struct net_device *net, int new_mtu); | ||
179 | 184 | ||
180 | extern int usbnet_get_endpoints(struct usbnet *, struct usb_interface *); | 185 | extern int usbnet_get_endpoints(struct usbnet *, struct usb_interface *); |
181 | extern void usbnet_defer_kevent (struct usbnet *, int); | 186 | extern void usbnet_defer_kevent (struct usbnet *, int); |