diff options
author | Matheos Worku <matheos.worku@sun.com> | 2008-04-25 00:02:37 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-25 00:02:37 -0400 |
commit | 7f7c4072ea552f97a0898331322f71986a97299c (patch) | |
tree | e63fabff36f9e4c849346e3beabdde0cc2f23947 /drivers/net/niu.h | |
parent | c5835df9716bdb1af8e25e9a452f717e54e02ed0 (diff) |
niu: Determine the # of ports from the card's VPD data
[ Fix minor whitespace and coding style stuff... -DaveM ]
Signed-off-by: Matheos Worku <matheos.worku@sun.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/niu.h')
-rw-r--r-- | drivers/net/niu.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/niu.h b/drivers/net/niu.h index 336aed08b275..35e9afb23bdf 100644 --- a/drivers/net/niu.h +++ b/drivers/net/niu.h | |||
@@ -2937,6 +2937,15 @@ struct rx_ring_info { | |||
2937 | 2937 | ||
2938 | #define NIU_MAX_MTU 9216 | 2938 | #define NIU_MAX_MTU 9216 |
2939 | 2939 | ||
2940 | /* VPD strings */ | ||
2941 | #define NIU_QGC_LP_BM_STR "501-7606" | ||
2942 | #define NIU_2XGF_LP_BM_STR "501-7283" | ||
2943 | #define NIU_QGC_PEM_BM_STR "501-7765" | ||
2944 | #define NIU_2XGF_PEM_BM_STR "501-7626" | ||
2945 | #define NIU_ALONSO_BM_STR "373-0202" | ||
2946 | #define NIU_FOXXY_BM_STR "501-7961" | ||
2947 | #define NIU_2XGF_MRVL_BM_STR "SK-6E82" | ||
2948 | |||
2940 | #define NIU_VPD_MIN_MAJOR 3 | 2949 | #define NIU_VPD_MIN_MAJOR 3 |
2941 | #define NIU_VPD_MIN_MINOR 4 | 2950 | #define NIU_VPD_MIN_MINOR 4 |
2942 | 2951 | ||