X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fusb_ether.h;h=7c7aecb30574d4536915f20f262a858470160421;hb=b04eb342af72d5dbcc29ccd7f3f9475044113361;hp=31cbc8d5879b3c58b4d0df7a3627f95a9b92c50f;hpb=89d48367edbc878f86db3008a4107331ef07f578;p=u-boot diff --git a/include/usb_ether.h b/include/usb_ether.h index 31cbc8d587..7c7aecb305 100644 --- a/include/usb_ether.h +++ b/include/usb_ether.h @@ -50,12 +50,28 @@ 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; }; /* * 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__ */