cxgb4: increase serial number length
authorDimitris Michailidis <dm@chelsio.com>
Tue, 27 Apr 2010 12:24:16 +0000 (12:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Apr 2010 22:46:43 +0000 (15:46 -0700)
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>
drivers/net/cxgb4/cxgb4.h

index 4b35dc7..8856a75 100644 (file)
@@ -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 */
 };