summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-02-16 11:14:34 -0800
committerRemy Bohmer <linux@bohmer.net>2011-02-19 20:32:36 +0100
commit9b70e00773f0c76a243816b8ec134c3c7dacd531 (patch)
tree17ed4dce27f534c2b281859665bf79d503393c89 /include
parent89d48367edbc878f86db3008a4107331ef07f578 (diff)
downloadu-boot-imx-9b70e00773f0c76a243816b8ec134c3c7dacd531.zip
u-boot-imx-9b70e00773f0c76a243816b8ec134c3c7dacd531.tar.gz
u-boot-imx-9b70e00773f0c76a243816b8ec134c3c7dacd531.tar.bz2
Add support for ASIX AX88772 USB 2.0 10/100Mbit Ethernet Adaptor
Driver originally written by NVIDIA Corporation, modified to handle odd-length packets. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/usb_ether.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/usb_ether.h b/include/usb_ether.h
index 31cbc8d..825c275 100644
--- a/include/usb_ether.h
+++ b/include/usb_ether.h
@@ -57,5 +57,12 @@ struct ueth_data {
* 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
#endif /* __USB_ETHER_H__ */