summaryrefslogtreecommitdiff
path: root/drivers/usb/eth/usb_ether.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-02-16 22:14:34 +0300
committerRemy Bohmer <linux@bohmer.net>2011-02-19 22:32:36 +0300
commit9b70e00773f0c76a243816b8ec134c3c7dacd531 (patch)
tree17ed4dce27f534c2b281859665bf79d503393c89 /drivers/usb/eth/usb_ether.c
parent89d48367edbc878f86db3008a4107331ef07f578 (diff)
downloadu-boot-9b70e00773f0c76a243816b8ec134c3c7dacd531.tar.xz
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 'drivers/usb/eth/usb_ether.c')
-rw-r--r--drivers/usb/eth/usb_ether.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/usb/eth/usb_ether.c b/drivers/usb/eth/usb_ether.c
index c2342ed97f..9e3d006686 100644
--- a/drivers/usb/eth/usb_ether.c
+++ b/drivers/usb/eth/usb_ether.c
@@ -38,6 +38,13 @@ struct usb_eth_prob_dev {
/* driver functions go here, each bracketed by #ifdef CONFIG_USB_ETHER_xxx */
static const struct usb_eth_prob_dev prob_dev[] = {
+#ifdef CONFIG_USB_ETHER_ASIX
+ {
+ .before_probe = asix_eth_before_probe,
+ .probe = asix_eth_probe,
+ .get_info = asix_eth_get_info,
+ },
+#endif
{ }, /* END */
};