smsc911x: Add support for SMSC LAN89218
authorPhil Edworthy <PHIL.EDWORTHY@renesas.com>
Wed, 12 Oct 2011 02:29:39 +0000 (02:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Oct 2011 04:01:01 +0000 (00:01 -0400)
LAN89218 is register compatible with LAN911x.

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/smsc911x.c

index b9016a30cdc55fe6e9d47742ab0d6ba56af9bcf9..c90ddb61cc5661281e3498daf762fecde80287c6 100644 (file)
@@ -26,6 +26,7 @@
  *   LAN9215, LAN9216, LAN9217, LAN9218
  *   LAN9210, LAN9211
  *   LAN9220, LAN9221
+ *   LAN89218
  *
  */
 
@@ -1983,6 +1984,7 @@ static int __devinit smsc911x_init(struct net_device *dev)
        case 0x01170000:
        case 0x01160000:
        case 0x01150000:
+       case 0x218A0000:
                /* LAN911[5678] family */
                pdata->generation = pdata->idrev & 0x0000FFFF;
                break;