diff options
author | Arun Ramadoss <arun.ramadoss@microchip.com> | 2022-06-22 12:04:18 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-06-24 13:31:43 +0300 |
commit | 0abab9f3ec6b4d8b820a2e22ffa83b88d7e6cccd (patch) | |
tree | 1665a5f60cb79400be81e93ff9fb6cd7a7c6179f /drivers/net/dsa/microchip/ksz9477.c | |
parent | 1ca6437fafc9ffddda7a6fa9b61059bcf8774b10 (diff) | |
download | linux-0abab9f3ec6b4d8b820a2e22ffa83b88d7e6cccd.tar.xz |
net: dsa: microchip: move multicast enable to ksz_setup
This patch moves the enabling the multicast storm protection from
individual setup function to ksz_setup function.
Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz9477.c')
-rw-r--r-- | drivers/net/dsa/microchip/ksz9477.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/dsa/microchip/ksz9477.c b/drivers/net/dsa/microchip/ksz9477.c index b2a6d2365c82..827e62b032d2 100644 --- a/drivers/net/dsa/microchip/ksz9477.c +++ b/drivers/net/dsa/microchip/ksz9477.c @@ -1281,8 +1281,6 @@ static int ksz9477_setup(struct dsa_switch *ds) if (ret) return ret; - ksz_cfg(dev, REG_SW_MAC_CTRL_1, MULTICAST_STORM_DISABLE, true); - /* queue based egress rate limit */ ksz_cfg(dev, REG_SW_MAC_CTRL_5, SW_OUT_RATE_LIMIT_QUEUE_BASED, true); |