diff options
author | Dimitris Michailidis <dm@chelsio.com> | 2010-04-27 08:24:16 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-27 18:46:43 -0400 |
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 4b35dc74341c..8856a75fcc94 100644 --- a/drivers/net/cxgb4/cxgb4.h +++ b/drivers/net/cxgb4/cxgb4.h | |||
@@ -53,7 +53,7 @@ | |||
53 | 53 | ||
54 | enum { | 54 | enum { |
55 | MAX_NPORTS = 4, /* max # of ports */ | 55 | MAX_NPORTS = 4, /* max # of ports */ |
56 | SERNUM_LEN = 16, /* Serial # length */ | 56 | SERNUM_LEN = 24, /* Serial # length */ |
57 | EC_LEN = 16, /* E/C length */ | 57 | EC_LEN = 16, /* E/C length */ |
58 | ID_LEN = 16, /* ID length */ | 58 | ID_LEN = 16, /* ID length */ |
59 | }; | 59 | }; |