diff options
author | Mugunthan V N | 2014-01-22 19:33:12 +0100 |
---|---|---|
committer | David S. Miller | 2014-01-23 22:12:14 +0100 |
commit | 0cd8f9cc0654c06adde353c6532114c5f53a18e8 (patch) | |
tree | ce9b7977fa4569cdd88c26424ceabf6b89634748 /drivers/net/ethernet/ti/cpsw_ale.c | |
parent | net: Correctly sync addresses from multiple sources to single device (diff) | |
download | kernel-qcow2-linux-0cd8f9cc0654c06adde353c6532114c5f53a18e8.tar.gz kernel-qcow2-linux-0cd8f9cc0654c06adde353c6532114c5f53a18e8.tar.xz kernel-qcow2-linux-0cd8f9cc0654c06adde353c6532114c5f53a18e8.zip |
drivers: net: cpsw: enable promiscuous mode support
Enable promiscuous mode support for CPSW.
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.c')
-rw-r--r-- | drivers/net/ethernet/ti/cpsw_ale.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/net/ethernet/ti/cpsw_ale.c b/drivers/net/ethernet/ti/cpsw_ale.c index 63e981975059..7f893069c418 100644 --- a/drivers/net/ethernet/ti/cpsw_ale.c +++ b/drivers/net/ethernet/ti/cpsw_ale.c @@ -477,6 +477,14 @@ static const struct ale_control_info ale_controls[ALE_NUM_CONTROLS] = { .port_shift = 0, .bits = 1, }, + [ALE_P0_UNI_FLOOD] = { + .name = "port0_unicast_flood", + .offset = ALE_CONTROL, + .port_offset = 0, + .shift = 8, + .port_shift = 0, + .bits = 1, + }, [ALE_VLAN_NOLEARN] = { .name = "vlan_nolearn", .offset = ALE_CONTROL, @@ -573,6 +581,14 @@ static const struct ale_control_info ale_controls[ALE_NUM_CONTROLS] = { .port_shift = 0, .bits = 1, }, + [ALE_PORT_NO_SA_UPDATE] = { + .name = "no_source_update", + .offset = ALE_PORTCTL, + .port_offset = 4, + .shift = 5, + .port_shift = 0, + .bits = 1, + }, [ALE_PORT_MCAST_LIMIT] = { .name = "mcast_limit", .offset = ALE_PORTCTL, |