linux/drivers/net/dsa/b53
Rafał Miłecki d12e1c4649 net: dsa: b53: Set correct number of ports in the DSA struct
Setting DSA_MAX_PORTS caused DSA to call b53 callbacks (e.g.
b53_disable_port() during dsa_register_switch()) for invalid
(non-existent) ports. That made b53 modify unrelated registers and is
one of reasons for a broken BCM5301x support.

This problem exists for years but DSA_MAX_PORTS usage has changed few
times. It seems the most accurate to reference commit dropping
dsa_switch_alloc() in the Fixes tag.

Fixes: 7e99e34701 ("net: dsa: remove dsa_switch_alloc helper")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-09-02 13:32:24 +01:00
..
b53_common.c net: dsa: b53: Set correct number of ports in the DSA struct 2021-09-02 13:32:24 +01:00
b53_mdio.c
b53_mmap.c net: dsa: b53: mmap: Add device tree support 2021-03-18 14:37:44 -07:00
b53_priv.h net: dsa: don't disable multicast flooding to the CPU even without an IGMP querier 2021-08-06 11:11:13 +01:00
b53_regs.h net: dsa: b53: Support setting learning on port 2021-02-23 12:23:00 -08:00
b53_serdes.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
b53_serdes.h net: dsa: b53: Use the correct style for SPDX License Identifier 2019-09-22 15:24:51 -07:00
b53_spi.c net: dsa: b53: spi: add missing MODULE_DEVICE_TABLE 2021-03-25 17:11:22 -07:00
b53_srab.c net: dsa: b53: remove redundant null check on dev 2021-06-15 11:28:01 -07:00
Kconfig net: dsa: b53: support legacy tags 2021-03-17 12:24:36 -07:00
Makefile