summaryrefslogtreecommitdiff
path: root/drivers/usb/eth/usb_ether.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-06-13 16:13:09 -0700
committerRemy Bohmer <linux@bohmer.net>2011-08-08 21:05:23 +0200
commit291391bed566a569a80b50c924a7c43747abc1b5 (patch)
tree02d280a4d24d650a41fd8c5e17914279d174e4fc /drivers/usb/eth/usb_ether.c
parentfa82f871c8dbc9a15e8dc274b3f99dd5fa0da458 (diff)
Add support for SMSC95XX USB 2.0 10/100MBit Ethernet Adapter
The SMSC95XX is a USB hub with a built-in Ethernet adapter. This adds support for this, using the USB host network framework. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Eric BĂ©nard <eric@eukrea.com>
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 68a08836ec..7b55da30e0 100644
--- a/drivers/usb/eth/usb_ether.c
+++ b/drivers/usb/eth/usb_ether.c
@@ -45,6 +45,13 @@ static const struct usb_eth_prob_dev prob_dev[] = {
.get_info = asix_eth_get_info,
},
#endif
+#ifdef CONFIG_USB_ETHER_SMSC95XX
+ {
+ .before_probe = smsc95xx_eth_before_probe,
+ .probe = smsc95xx_eth_probe,
+ .get_info = smsc95xx_eth_get_info,
+ },
+#endif
{ }, /* END */
};