smsc95xx: add support for LAN9512 and LAN9514
authorSteve Glendinning <steve.glendinning@smsc.com>
Fri, 1 May 2009 06:07:22 +0000 (06:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 May 2009 22:27:03 +0000 (15:27 -0700)
LAN9512 and LAN9514 are USB hubs with an integrated 10/100 ethernet
controller.  Logically this looks like an ethernet controller (similar
to LAN9500) permanently attached to one of the hub's downstream ports.

This patch adds the usb device id of the new ethernet controller to the
smsc95xx driver.  This id is the same in both new devices.

Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/smsc95xx.c

index 0fd68a5f9d495fa93d6b85af11fd2777ef06de06..5a7283372b53d09c9c4d39d6332fef471fde1875 100644 (file)
@@ -1241,6 +1241,11 @@ static const struct usb_device_id products[] = {
                USB_DEVICE(0x0424, 0x9500),
                .driver_info = (unsigned long) &smsc95xx_info,
        },
+       {
+               /* SMSC9512/9514 USB Hub & Ethernet Device */
+               USB_DEVICE(0x0424, 0xec00),
+               .driver_info = (unsigned long) &smsc95xx_info,
+       },
        { },            /* END */
 };
 MODULE_DEVICE_TABLE(usb, products);