diff options
author | Steve Glendinning <steve.glendinning@smsc.com> | 2008-12-13 09:32:22 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-13 09:32:22 +0300 |
commit | 012b215ceb55aa38826f091cecfd373cc9bbb05b (patch) | |
tree | a8cdfe53fc69cc72ae40222faed9f473f8db4a97 /drivers/net/smsc9420.h | |
parent | e312674ffb5281a46a3ad06604edea6426c4eb24 (diff) | |
download | linux-012b215ceb55aa38826f091cecfd373cc9bbb05b.tar.xz |
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.h | 3 |
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 @@ #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) |