diff options
author | Rafał Miłecki <[email protected]> | 2023-02-08 10:16:37 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-02-09 22:25:31 -0800 |
commit | d61615c366a489646a1bfe5b33455f916762d5f4 (patch) | |
tree | 6e0b1459f2a095bf272d7c84b283497d005c6697 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 35674e787518768626d3a0ffce1c13a7eeed922d (diff) |
net: bgmac: fix BCM5358 support by setting correct flags
Code blocks handling BCMA_CHIP_ID_BCM5357 and BCMA_CHIP_ID_BCM53572 were
incorrectly unified. Chip package values are not unique and cannot be
checked independently. They are meaningful only in a context of a given
chip.
Packages BCM5358 and BCM47188 share the same value but then belong to
different chips. Code unification resulted in treating BCM5358 as
BCM47188 and broke its initialization.
Link: https://github.com/openwrt/openwrt/issues/8278
Fixes: cb1b0f90acfe ("net: ethernet: bgmac: unify code of the same family")
Cc: Jon Mason <[email protected]>
Signed-off-by: Rafał Miłecki <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions