]> git.sur5r.net Git - u-boot/blobdiff - include/usb_ether.h
omap4: increase SRAM budget to fix build error
[u-boot] / include / usb_ether.h
index 31cbc8d5879b3c58b4d0df7a3627f95a9b92c50f..a7fb26bf7c121a350054839e1824764ff195d304 100644 (file)
@@ -51,11 +51,31 @@ struct ueth_data {
        unsigned char   irqinterval;    /* Intervall for IRQ Pipe */
 
        /* private fields for each driver can go here if needed */
+#ifdef CONFIG_USB_ETHER_SMSC95XX
+       size_t rx_urb_size;  /* maximum USB URB size */
+       u32 mac_cr;  /* MAC control register value */
+       int have_hwaddr;  /* 1 if we have a hardware MAC address */
+#endif
 };
 
 /*
  * Function definitions for each USB ethernet driver go here, bracketed by
  * #ifdef CONFIG_USB_ETHER_xxx...#endif
  */
+#ifdef CONFIG_USB_ETHER_ASIX
+void asix_eth_before_probe(void);
+int asix_eth_probe(struct usb_device *dev, unsigned int ifnum,
+                     struct ueth_data *ss);
+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__ */