diff options
author | Divy Le Ray <divy@chelsio.com> | 2007-08-21 23:49:36 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:50:50 -0400 |
commit | 167cdf5fbc64ab8f4eae2cd6d9d0892478d569d7 (patch) | |
tree | a1796dba0def322c8d50966b5afd18dd9548d1e2 /drivers/net/cxgb3/common.h | |
parent | c64c2eaeaaf04f9c8a303508f804ba256435d79f (diff) |
cxgb3 - log adapter serial number
Log HW serial number when cxgb3 module is loaded.
Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/cxgb3/common.h')
-rw-r--r-- | drivers/net/cxgb3/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/cxgb3/common.h b/drivers/net/cxgb3/common.h index d6c77607a114..510e93f90b91 100644 --- a/drivers/net/cxgb3/common.h +++ b/drivers/net/cxgb3/common.h | |||
@@ -97,6 +97,7 @@ enum { | |||
97 | MAX_NPORTS = 2, /* max # of ports */ | 97 | MAX_NPORTS = 2, /* max # of ports */ |
98 | MAX_FRAME_SIZE = 10240, /* max MAC frame size, including header + FCS */ | 98 | MAX_FRAME_SIZE = 10240, /* max MAC frame size, including header + FCS */ |
99 | EEPROMSIZE = 8192, /* Serial EEPROM size */ | 99 | EEPROMSIZE = 8192, /* Serial EEPROM size */ |
100 | SERNUM_LEN = 16, /* Serial # length */ | ||
100 | RSS_TABLE_SIZE = 64, /* size of RSS lookup and mapping tables */ | 101 | RSS_TABLE_SIZE = 64, /* size of RSS lookup and mapping tables */ |
101 | TCB_SIZE = 128, /* TCB size */ | 102 | TCB_SIZE = 128, /* TCB size */ |
102 | NMTUS = 16, /* size of MTU table */ | 103 | NMTUS = 16, /* size of MTU table */ |
@@ -391,6 +392,7 @@ struct vpd_params { | |||
391 | unsigned int uclk; | 392 | unsigned int uclk; |
392 | unsigned int mdc; | 393 | unsigned int mdc; |
393 | unsigned int mem_timing; | 394 | unsigned int mem_timing; |
395 | u8 sn[SERNUM_LEN + 1]; | ||
394 | u8 eth_base[6]; | 396 | u8 eth_base[6]; |
395 | u8 port_type[MAX_NPORTS]; | 397 | u8 port_type[MAX_NPORTS]; |
396 | unsigned short xauicfg[2]; | 398 | unsigned short xauicfg[2]; |