diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2017-07-20 15:25:22 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-20 18:21:54 -0400 |
commit | be35e8c516c1915a3035d266a2015b41f73ba3f9 (patch) | |
tree | a5e783439bca3dc8d8b930b60c75f7d9db432fe6 | |
parent | 5067f4cf23cb073cf664372804104c4a5891dc59 (diff) |
net: dsa: b53: Add missing ARL entries for BCM53125
The BCM53125 entry was missing an arl_entries member which would
basically prevent the ARL search from terminating properly. This switch
has 4 ARL entries, so add that.
Fixes: 1da6df85c6fb ("net: dsa: b53: Implement ARL add/del/dump operations")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/dsa/b53/b53_common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/b53/b53_common.c b/drivers/net/dsa/b53/b53_common.c index e68d368e20ac..7f36d3e3c98b 100644 --- a/drivers/net/dsa/b53/b53_common.c +++ b/drivers/net/dsa/b53/b53_common.c | |||
@@ -1665,6 +1665,7 @@ static const struct b53_chip_data b53_switch_chips[] = { | |||
1665 | .dev_name = "BCM53125", | 1665 | .dev_name = "BCM53125", |
1666 | .vlans = 4096, | 1666 | .vlans = 4096, |
1667 | .enabled_ports = 0xff, | 1667 | .enabled_ports = 0xff, |
1668 | .arl_entries = 4, | ||
1668 | .cpu_port = B53_CPU_PORT, | 1669 | .cpu_port = B53_CPU_PORT, |
1669 | .vta_regs = B53_VTA_REGS, | 1670 | .vta_regs = B53_VTA_REGS, |
1670 | .duplex_reg = B53_DUPLEX_STAT_GE, | 1671 | .duplex_reg = B53_DUPLEX_STAT_GE, |