]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
smsc911x: Set Ethernet EEPROM size to supported device's size
authorJohn Faith <jfaith7@gmail.com>
Mon, 1 Nov 2010 11:30:08 +0000 (11:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Nov 2010 01:50:02 +0000 (18:50 -0700)
The SMSC911x supports 128 x 8-bit EEPROMs.  Increase the EEPROM size
so more than just the MAC address can be stored.

Signed-off-by: John Faith <jfaith7@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/smsc911x.h

index 016360c65ce2ded5afe129f91139a9582fbef485..8a79585698434014a6dc0ac9675fee6ce43619cf 100644 (file)
@@ -22,7 +22,7 @@
 #define __SMSC911X_H__
 
 #define TX_FIFO_LOW_THRESHOLD  ((u32)1600)
-#define SMSC911X_EEPROM_SIZE   ((u32)7)
+#define SMSC911X_EEPROM_SIZE   ((u32)128)
 #define USE_DEBUG              0
 
 /* This is the maximum number of packets to be received every