aboutsummaryrefslogtreecommitdiff
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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/usb/usbnet.h b/drivers/net/usb/usbnet.h
index 0b4bf09fc8b..25b63d3339d 100644
--- a/drivers/net/usb/usbnet.h
+++ b/drivers/net/usb/usbnet.h
@@ -116,6 +116,11 @@ struct driver_info {
struct sk_buff *(*tx_fixup)(struct usbnet *dev,
struct sk_buff *skb, gfp_t flags);
+ /* early initialization code, can sleep. This is for minidrivers
+ * having 'subminidrivers' that need to do extra initialization
+ * right after minidriver have initialized hardware. */
+ int (*early_init)(struct usbnet *dev);
+
/* for new devices, use the descriptor-reading code instead */
int in; /* rx endpoint */
int out; /* tx endpoint */