summaryrefslogtreecommitdiff
path: root/drivers/usb/eth/usb_ether.c
diff options
context:
space:
mode:
authorGerhard Sittig <gsi@denx.de>2014-03-08 19:46:14 +0100
committerTom Rini <trini@ti.com>2014-03-12 17:04:31 -0400
commitdf4fb1c36d35021c27aa9fb43062741712022ad3 (patch)
tree4ad3075717c6c5ed3ee05a88a251bfe3cc2ba21d /drivers/usb/eth/usb_ether.c
parent440a5742393bb959fd7bce28f5c916355d8607ca (diff)
usb: net: introduce support for Moschip USB ethernet
introduce an 'mcs7830' driver for Moschip MCS7830 based (7730/7830/7832) USB 2.0 Ethernet Devices see "MCS7830 -- USB 2.0 to 10/100M Fast Ethernet Controller" at http://www.asix.com.tw/products.php?op=pItemdetail&PItemID=109;74;109 the driver was implemented based on the U-Boot Asix driver with additional information gathered from the Moschip Linux driver, development was done on "Delock 61147" and "Logilink UA0025C" dongles Signed-off-by: Gerhard Sittig <gsi@denx.de> Acked-by: Marek Vasut <marex@denx.de>
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 2c4126be36..1dda54c2f1 100644
--- a/drivers/usb/eth/usb_ether.c
+++ b/drivers/usb/eth/usb_ether.c
@@ -30,6 +30,13 @@ static const struct usb_eth_prob_dev prob_dev[] = {
.get_info = asix_eth_get_info,
},
#endif
+#ifdef CONFIG_USB_ETHER_MCS7830
+ {
+ .before_probe = mcs7830_eth_before_probe,
+ .probe = mcs7830_eth_probe,
+ .get_info = mcs7830_eth_get_info,
+ },
+#endif
#ifdef CONFIG_USB_ETHER_SMSC95XX
{
.before_probe = smsc95xx_eth_before_probe,