aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/smsc9420.h
diff options
context:
space:
mode:
authorSteve Glendinning <steve.glendinning@smsc.com>2008-12-13 01:32:22 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-13 01:32:22 -0500
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 afda2d249eb6..80c426dc4325 100644
--- a/drivers/net/smsc9420.h
+++ b/drivers/net/smsc9420.h
@@ -43,6 +43,8 @@
43 43
44#define LAN_REGISTER_EXTENT (0x400) 44#define LAN_REGISTER_EXTENT (0x400)
45 45
46#define SMSC9420_EEPROM_SIZE ((u32)11)
47
46#define FLOW_CTRL_TX (1) 48#define FLOW_CTRL_TX (1)
47#define FLOW_CTRL_RX (2) 49#define FLOW_CTRL_RX (2)
48 50
@@ -238,6 +240,7 @@
238#define GPIO_CFG_LED_3_ (0x40000000) 240#define GPIO_CFG_LED_3_ (0x40000000)
239#define GPIO_CFG_LED_2_ (0x20000000) 241#define GPIO_CFG_LED_2_ (0x20000000)
240#define GPIO_CFG_LED_1_ (0x10000000) 242#define GPIO_CFG_LED_1_ (0x10000000)
243#define GPIO_CFG_EEPR_EN_ (0x00700000)
241 244
242#define GPT_CFG (0xD4) 245#define GPT_CFG (0xD4)
243#define GPT_CFG_TIMER_EN_ (0x20000000) 246#define GPT_CFG_TIMER_EN_ (0x20000000)