Makefile: Change CONFIG_SPL_PAD_TO to image offset
[platform/kernel/u-boot.git] / include / usb_ether.h
index 825c275..7c7aecb 100644 (file)
@@ -50,7 +50,8 @@ struct ueth_data {
        unsigned char   protocol;               /* .............. */
        unsigned char   irqinterval;    /* Intervall for IRQ Pipe */
 
-       /* private fields for each driver can go here if needed */
+       /* driver private */
+       void *dev_priv;
 };
 
 /*
@@ -65,4 +66,12 @@ int asix_eth_get_info(struct usb_device *dev, struct ueth_data *ss,
                      struct eth_device *eth);
 #endif
 
+#ifdef CONFIG_USB_ETHER_SMSC95XX
+void smsc95xx_eth_before_probe(void);
+int smsc95xx_eth_probe(struct usb_device *dev, unsigned int ifnum,
+                       struct ueth_data *ss);
+int smsc95xx_eth_get_info(struct usb_device *dev, struct ueth_data *ss,
+                       struct eth_device *eth);
+#endif
+
 #endif /* __USB_ETHER_H__ */