diff options
author | Dimitris Michailidis <dm@chelsio.com> | 2010-08-23 17:20:59 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-23 20:38:14 -0700 |
commit | 1478b3ee931e83c7a94f61376e962574b28d23d6 (patch) | |
tree | e22cb1de6256301f2e5cf5476b5219977af66dc9 /drivers/net/cxgb4/t4_hw.h | |
parent | e46dab4d4be87769b09404135bc34f89e2e155d8 (diff) |
cxgb4: support eeprom read/write on functions other than 0
Extend the address translation for eeprom read/write (code used by
ethtool -[eE]) to functions other than 0.
Signed-off-by: Dimitris Michailidis <dm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb4/t4_hw.h')
-rw-r--r-- | drivers/net/cxgb4/t4_hw.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/cxgb4/t4_hw.h b/drivers/net/cxgb4/t4_hw.h index 10a05556577..c26b455f37d 100644 --- a/drivers/net/cxgb4/t4_hw.h +++ b/drivers/net/cxgb4/t4_hw.h @@ -42,6 +42,7 @@ enum { MAX_MTU = 9600, /* max MAC MTU, excluding header + FCS */ EEPROMSIZE = 17408, /* Serial EEPROM physical size */ EEPROMVSIZE = 32768, /* Serial EEPROM virtual address space size */ + EEPROMPFSIZE = 1024, /* EEPROM writable area size for PFn, n>0 */ RSS_NENTRIES = 2048, /* # of entries in RSS mapping table */ TCB_SIZE = 128, /* TCB size */ NMTUS = 16, /* size of MTU table */ |