提交 47d54d65 编写于 作者: D Dimitris Michailidis 提交者: David S. Miller

cxgb4: increase serial number length

Some boards have longer serial numbers in their VPD, up to 24 bytes.
Signed-off-by: NDimitris Michailidis <dm@chelsio.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册