projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
226ec5f
)
cxgb4: increase serial number length
author
Dimitris Michailidis
<dm@chelsio.com>
Tue, 27 Apr 2010 12:24:16 +0000
(12:24 +0000)
committer
David 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
patch
|
blob
|
history
diff --git
a/drivers/net/cxgb4/cxgb4.h
b/drivers/net/cxgb4/cxgb4.h
index 4b35dc74341c66c0bffb511f3fbebcd1c93d0d7b..8856a75fcc943f772664de65624249d72f95151d 100644
(file)
--- 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 */
};