diff options
author | Simon Glass <sjg@chromium.org> | 2011-02-16 11:14:34 -0800 |
---|---|---|
committer | Remy Bohmer <linux@bohmer.net> | 2011-02-19 20:32:36 +0100 |
commit | 9b70e00773f0c76a243816b8ec134c3c7dacd531 (patch) | |
tree | 17ed4dce27f534c2b281859665bf79d503393c89 /drivers/usb/eth/usb_ether.c | |
parent | 89d48367edbc878f86db3008a4107331ef07f578 (diff) | |
download | u-boot-9b70e00773f0c76a243816b8ec134c3c7dacd531.tar.gz |
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.c | 7 |
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 */ }; |