bmips: disable B53 MMAP phy read/write ops
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Tue, 21 Mar 2023 18:36:16 +0000 (19:36 +0100)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Tue, 21 Mar 2023 18:36:16 +0000 (19:36 +0100)
commit82dc16fde0337b573c543f023f3fe1d3657e17e4
tree91e570acc66ec33b9f2a8a428dd0caedbb5ded0d
parentc6eb099db98eeb438d84a75cf5fcfe49f104be2c
bmips: disable B53 MMAP phy read/write ops

Without this change, internal and external B53 switches couldn't coexist as
reported in https://github.com/openwrt/openwrt/issues/10313.
In order to fix this we need to force the B53 MMAP DSA switch driver to use
bcm6368-mdio-mux for accessing the PHY registers instead of its own phy_read()
and phy_write() functions.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
target/linux/bmips/files/drivers/net/ethernet/broadcom/bcm6368-enetsw.c
target/linux/bmips/patches-5.15/510-net-dsa-b53-mmap-disable-phy-read-write-ops.patch [new file with mode: 0644]