From: Dimitris Michailidis Date: Tue, 27 Apr 2010 12:24:16 +0000 (+0000) Subject: cxgb4: increase serial number length X-Git-Tag: v2.6.35-rc1~473^2~355 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=47d54d65826c4a498070a5e0e1d74ce665402b4d;p=profile%2Fivi%2Fkernel-x86-ivi.git cxgb4: increase serial number length Some boards have longer serial numbers in their VPD, up to 24 bytes. Signed-off-by: Dimitris Michailidis Signed-off-by: David S. Miller --- diff --git a/drivers/net/cxgb4/cxgb4.h b/drivers/net/cxgb4/cxgb4.h index 4b35dc7..8856a75 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 */ };