Patchwork [U-Boot] OMAP5: Enable USB Ethernet support with LAN9730

login
register
mail settings
Submitter Lubomir Popov
Date April 1, 2013, 2:50 p.m.
Message ID <51599ECF.4090200@mm-sol.com>
Download mbox | patch
Permalink /patch/232743/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Lubomir Popov - April 1, 2013, 2:50 p.m.
Added the LAN9730 to list of supported devices. This chip is used
in the sEVM, uEVM and som5_evb. Tested on the som5_evb with dhcp
and ping.

Signed-off-by: Lubomir Popov <lpopov@mm-sol.com>

---

NOTE: For things to work, 'usb start' must be executed first, and
we must have the Ethernet device found. Otherwise any Ethernet
command shall cause a Data Abort (to be fixed ;) ).

 drivers/usb/eth/smsc95xx.c |    1 +
 1 file changed, 1 insertion(+)
Tom Rini - May 15, 2013, 12:48 p.m.
On Mon, Apr 01, 2013 at 04:50:55AM -0000, Lubomir Popov wrote:

> Added the LAN9730 to list of supported devices. This chip is used
> in the sEVM, uEVM and som5_evb. Tested on the som5_evb with dhcp
> and ping.
> 
> Signed-off-by: Lubomir Popov <lpopov@mm-sol.com>

Applied to u-boot/master, thanks!

Patch

diff --git a/drivers/usb/eth/smsc95xx.c b/drivers/usb/eth/smsc95xx.c
index fd8f8a7..685702e 100644
--- a/drivers/usb/eth/smsc95xx.c
+++ b/drivers/usb/eth/smsc95xx.c
@@ -798,6 +798,7 @@  struct smsc95xx_dongle {
 static const struct smsc95xx_dongle smsc95xx_dongles[] = {
 	{ 0x0424, 0xec00 },	/* LAN9512/LAN9514 Ethernet */
 	{ 0x0424, 0x9500 },	/* LAN9500 Ethernet */
+	{ 0x0424, 0x9730 },	/* LAN9730 Ethernet (HSIC) */
 	{ 0x0000, 0x0000 }	/* END - Do not remove */
 };