aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/smsc9420.h
diff options
context:
space:
mode:
authorSteve Glendinning <steve.glendinning@smsc.com>2008-12-12 22:32:22 -0800
committerDavid S. Miller <davem@davemloft.net>2008-12-12 22:32:22 -0800
commit012b215ceb55aa38826f091cecfd373cc9bbb05b (patch)
treea8cdfe53fc69cc72ae40222faed9f473f8db4a97 /drivers/net/smsc9420.h
parente312674ffb5281a46a3ad06604edea6426c4eb24 (diff)
smsc9420: add ethtool eeprom support
Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/smsc9420.h')
-rw-r--r--drivers/net/smsc9420.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/smsc9420.h b/drivers/net/smsc9420.h
index afda2d249eb..80c426dc432 100644
--- a/drivers/net/smsc9420.h
+++ b/drivers/net/smsc9420.h
@@ -43,6 +43,8 @@
#define LAN_REGISTER_EXTENT (0x400)
+#define SMSC9420_EEPROM_SIZE ((u32)11)
+
#define FLOW_CTRL_TX (1)
#define FLOW_CTRL_RX (2)
@@ -238,6 +240,7 @@
#define GPIO_CFG_LED_3_ (0x40000000)
#define GPIO_CFG_LED_2_ (0x20000000)
#define GPIO_CFG_LED_1_ (0x10000000)
+#define GPIO_CFG_EEPR_EN_ (0x00700000)
#define GPT_CFG (0xD4)
#define GPT_CFG_TIMER_EN_ (0x20000000)