diff options
author | Matheos Worku <matheos.worku@sun.com> | 2008-02-29 00:25:43 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-29 00:25:43 -0500 |
commit | 5fbd7e24da874a1c7b06ae6b10bbf2d71c1b6a11 (patch) | |
tree | eea0d38248c108aeca60d04e468ad8287487ad16 /drivers/net/niu.h | |
parent | 99cd07a537bf4c7c954f31611e30064407104410 (diff) |
[NIU]: Add Support for Sun ATCA Blade Server.
Ports 0 and 1 of the NIU device are connected to extended fabric
through SERDES. Ports 2 and 3 are connected using RGMII Fiber mode.
[ Coding style cleanups... -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 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/niu.h b/drivers/net/niu.h index 59dc05fcd371..336aed08b275 100644 --- a/drivers/net/niu.h +++ b/drivers/net/niu.h | |||
@@ -3061,6 +3061,7 @@ struct niu_parent { | |||
3061 | #define PLAT_TYPE_NIU 0x02 | 3061 | #define PLAT_TYPE_NIU 0x02 |
3062 | #define PLAT_TYPE_VF_P0 0x03 | 3062 | #define PLAT_TYPE_VF_P0 0x03 |
3063 | #define PLAT_TYPE_VF_P1 0x04 | 3063 | #define PLAT_TYPE_VF_P1 0x04 |
3064 | #define PLAT_TYPE_ATCA_CP3220 0x08 | ||
3064 | 3065 | ||
3065 | u8 num_ports; | 3066 | u8 num_ports; |
3066 | 3067 | ||
@@ -3198,10 +3199,11 @@ struct niu { | |||
3198 | struct niu_parent *parent; | 3199 | struct niu_parent *parent; |
3199 | 3200 | ||
3200 | u32 flags; | 3201 | u32 flags; |
3202 | #define NIU_FLAGS_VPD_VALID 0x00800000 /* VPD has valid version */ | ||
3201 | #define NIU_FLAGS_MSIX 0x00400000 /* MSI-X in use */ | 3203 | #define NIU_FLAGS_MSIX 0x00400000 /* MSI-X in use */ |
3202 | #define NIU_FLAGS_MCAST 0x00200000 /* multicast filter enabled */ | 3204 | #define NIU_FLAGS_MCAST 0x00200000 /* multicast filter enabled */ |
3203 | #define NIU_FLAGS_PROMISC 0x00100000 /* PROMISC enabled */ | 3205 | #define NIU_FLAGS_PROMISC 0x00100000 /* PROMISC enabled */ |
3204 | #define NIU_FLAGS_VPD_VALID 0x00080000 /* VPD has valid version */ | 3206 | #define NIU_FLAGS_XCVR_SERDES 0x00080000 /* 0=PHY 1=SERDES */ |
3205 | #define NIU_FLAGS_10G 0x00040000 /* 0=1G 1=10G */ | 3207 | #define NIU_FLAGS_10G 0x00040000 /* 0=1G 1=10G */ |
3206 | #define NIU_FLAGS_FIBER 0x00020000 /* 0=COPPER 1=FIBER */ | 3208 | #define NIU_FLAGS_FIBER 0x00020000 /* 0=COPPER 1=FIBER */ |
3207 | #define NIU_FLAGS_XMAC 0x00010000 /* 0=BMAC 1=XMAC */ | 3209 | #define NIU_FLAGS_XMAC 0x00010000 /* 0=BMAC 1=XMAC */ |