diff options
author | Dimitris Michailidis <dm@chelsio.com> | 2010-04-27 14:24:16 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-28 00:46:43 +0200 |
commit | 47d54d65826c4a498070a5e0e1d74ce665402b4d (patch) | |
tree | 319542f15db042c432aac0542e49cac1d9d88943 /drivers/net | |
parent | cxgb4: parse the VPD instead of relying on a static VPD layout (diff) | |
download | linux-47d54d65826c4a498070a5e0e1d74ce665402b4d.tar.xz linux-47d54d65826c4a498070a5e0e1d74ce665402b4d.zip |
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')
-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 @@ 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 */ }; |