Commit 47d54d65 authored by Dimitris Michailidis's avatar Dimitris Michailidis Committed by David S. Miller

cxgb4: increase serial number length

Some boards have longer serial numbers in their VPD, up to 24 bytes.
Signed-off-by: default avatarDimitris Michailidis <dm@chelsio.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 226ec5fd
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
enum { enum {
MAX_NPORTS = 4, /* max # of ports */ MAX_NPORTS = 4, /* max # of ports */
SERNUM_LEN = 16, /* Serial # length */ SERNUM_LEN = 24, /* Serial # length */
EC_LEN = 16, /* E/C length */ EC_LEN = 16, /* E/C length */
ID_LEN = 16, /* ID length */ ID_LEN = 16, /* ID length */
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment