aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ti/cpsw_ale.c
diff options
context:
space:
mode:
authorMugunthan V N <mugunthanvnm@ti.com>2014-01-22 13:33:12 -0500
committerDavid S. Miller <davem@davemloft.net>2014-01-23 16:12:14 -0500
commit0cd8f9cc0654c06adde353c6532114c5f53a18e8 (patch)
treece9b7977fa4569cdd88c26424ceabf6b89634748 /drivers/net/ethernet/ti/cpsw_ale.c
parent6ef7b8a23a2022915a7e1ac1a7b847ded7d977b1 (diff)
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.c16
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] = {
477 .port_shift = 0, 477 .port_shift = 0,
478 .bits = 1, 478 .bits = 1,
479 }, 479 },
480 [ALE_P0_UNI_FLOOD] = {
481 .name = "port0_unicast_flood",
482 .offset = ALE_CONTROL,
483 .port_offset = 0,
484 .shift = 8,
485 .port_shift = 0,
486 .bits = 1,
487 },
480 [ALE_VLAN_NOLEARN] = { 488 [ALE_VLAN_NOLEARN] = {
481 .name = "vlan_nolearn", 489 .name = "vlan_nolearn",
482 .offset = ALE_CONTROL, 490 .offset = ALE_CONTROL,
@@ -573,6 +581,14 @@ static const struct ale_control_info ale_controls[ALE_NUM_CONTROLS] = {
573 .port_shift = 0, 581 .port_shift = 0,
574 .bits = 1, 582 .bits = 1,
575 }, 583 },
584 [ALE_PORT_NO_SA_UPDATE] = {
585 .name = "no_source_update",
586 .offset = ALE_PORTCTL,
587 .port_offset = 4,
588 .shift = 5,
589 .port_shift = 0,
590 .bits = 1,
591 },
576 [ALE_PORT_MCAST_LIMIT] = { 592 [ALE_PORT_MCAST_LIMIT] = {
577 .name = "mcast_limit", 593 .name = "mcast_limit",
578 .offset = ALE_PORTCTL, 594 .offset = ALE_PORTCTL,