diff options
author | Mugunthan V N <mugunthanvnm@ti.com> | 2013-02-05 03:26:48 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-02-06 15:46:40 -0500 |
commit | 3b72c2fe0c6bbec42ed7f899931daef227b80322 (patch) | |
tree | 9c18d7c9db1c5736d153a054fe5b79df35b0ad72 /drivers/net/ethernet/ti/cpsw_ale.h | |
parent | e11b220f336c654db876027d40953acef90b0cae (diff) |
drivers: net:ethernet: cpsw: add support for VLAN
adding support for VLAN interface for cpsw.
CPSW VLAN Capability
* Can filter VLAN packets in Hardware
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/cpsw_ale.h')
-rw-r--r-- | drivers/net/ethernet/ti/cpsw_ale.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/ti/cpsw_ale.h b/drivers/net/ethernet/ti/cpsw_ale.h index a002417f952b..30daa1265f0c 100644 --- a/drivers/net/ethernet/ti/cpsw_ale.h +++ b/drivers/net/ethernet/ti/cpsw_ale.h | |||
@@ -69,6 +69,10 @@ enum cpsw_ale_port_state { | |||
69 | #define ALE_SUPER BIT(2) | 69 | #define ALE_SUPER BIT(2) |
70 | #define ALE_VLAN BIT(3) | 70 | #define ALE_VLAN BIT(3) |
71 | 71 | ||
72 | #define ALE_PORT_HOST BIT(0) | ||
73 | #define ALE_PORT_1 BIT(1) | ||
74 | #define ALE_PORT_2 BIT(2) | ||
75 | |||
72 | #define ALE_MCAST_FWD 0 | 76 | #define ALE_MCAST_FWD 0 |
73 | #define ALE_MCAST_BLOCK_LEARN_FWD 1 | 77 | #define ALE_MCAST_BLOCK_LEARN_FWD 1 |
74 | #define ALE_MCAST_FWD_LEARN 2 | 78 | #define ALE_MCAST_FWD_LEARN 2 |