aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/usbnet.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/usb/usbnet.h')
-rw-r--r--drivers/net/usb/usbnet.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/usb/usbnet.h b/drivers/net/usb/usbnet.h
index 25b63d3339dc..e0501da3dd11 100644
--- a/drivers/net/usb/usbnet.h
+++ b/drivers/net/usb/usbnet.h
@@ -121,6 +121,10 @@ struct driver_info {
121 * right after minidriver have initialized hardware. */ 121 * right after minidriver have initialized hardware. */
122 int (*early_init)(struct usbnet *dev); 122 int (*early_init)(struct usbnet *dev);
123 123
124 /* called by minidriver when link state changes, state: 0=disconnect,
125 * 1=connect */
126 void (*link_change)(struct usbnet *dev, int state);
127
124 /* for new devices, use the descriptor-reading code instead */ 128 /* for new devices, use the descriptor-reading code instead */
125 int in; /* rx endpoint */ 129 int in; /* rx endpoint */
126 int out; /* tx endpoint */ 130 int out; /* tx endpoint */