net: dsa: b53: mmap: add dsa switch ops
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | net: dsa: b53: mmap: add dsa switch opsdrivers/ drivers/ drivers/ | +62 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/1] net: dsa: b53: mmap: add dsa switch ops
B53 MMAP switches have a MDIO Mux bus controller which should be used instead of the default phy_read/phy_write ops used in the rest of the B53 controllers. Therefore, in order to use the proper MDIO Mux bus controller we need to replicate the default B53 DSA switch ops removing the phy_read/phy_write entries.
Without this, when external switches are configured together with B53 MMAP internal switches the device will hang on phy_read/phy_write ops.
This is an alternative to:
- https://patchwork.kernel.org/project/netdevbpf/cover/[email protected]/
- https://patchwork.kernel.org/project/netdevbpf/patch/[email protected]/
- https://patchwork.kernel.org/project/netdevbpf/patch/[email protected]/
- https://patchwork.kernel.org/project/netdevbpf/patch/[email protected]/
As discussed, it was an ABI break and not the correct way of fixing the issue.
And also to:
- https://patchwork.kernel.org/project/netdevbpf/patch/[email protected]/
Álvaro Fernández Rojas (1):
net: dsa: b53: mmap: add dsa switch ops
drivers/net/dsa/b53/b53_common.c | 22 +++++++++--------- drivers/net/dsa/b53/b53_mmap.c | 40 ++++++++++++++++++++++++++++++++ drivers/net/dsa/b53/b53_priv.h | 11 +++++++++ 3 files changed, 62 insertions(+), 11 deletions(-)
Signature · 1 line
2.30.2