diff options
author | Dimitris Michailidis <dm@chelsio.com> | 2010-04-27 12:24:16 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-27 15:46:43 -0700 |
commit | 47d54d65826c4a498070a5e0e1d74ce665402b4d (patch) | |
tree | 319542f15db042c432aac0542e49cac1d9d88943 /drivers/net/cxgb4 | |
parent | 226ec5fd6746c0ef2e9efb583b44d01264ea0bb5 (diff) |
cxgb4: increase serial number length
Some boards have longer serial numbers in their VPD, up to 24 bytes.
Signed-off-by: Dimitris Michailidis <dm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb4')
-rw-r--r-- | drivers/net/cxgb4/cxgb4.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cxgb4/cxgb4.h b/drivers/net/cxgb4/cxgb4.h index 4b35dc74341..8856a75fcc9 100644 --- a/drivers/net/cxgb4/cxgb4.h +++ b/drivers/net/cxgb4/cxgb4.h @@ -53,7 +53,7 @@ enum { MAX_NPORTS = 4, /* max # of ports */ - SERNUM_LEN = 16, /* Serial # length */ + SERNUM_LEN = 24, /* Serial # length */ EC_LEN = 16, /* E/C length */ ID_LEN = 16, /* ID length */ }; |