Skip to content

Endian fixes for SYSTEMPORT/SF2/MDIO

Florian Fainelli netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net: systemport: Use correct I/O accessorsdrivers/net/ethernet/broadcom/bcmsysport.c+6 -60 replies
2/4net: dsa: bcm_sf2: Use correct I/O accessorsdrivers/net/dsa/bcm_sf2.h+6 -60 replies
3/4net: systemport: Set correct RSB endian bits based on hostdrivers/net/ethernet/broadcom/bcmsysport.c+7 -20 replies
4/4net: phy: mdio-bcm-unimac: Use correct I/O accessorsdrivers/net/phy/mdio-bcm-unimac.c+26 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/4] Endian fixes for SYSTEMPORT/SF2/MDIO

Hi David,

While trying an ARM BE kernel for kinks, the 3 drivers below started not working and the reasons why became pretty obvious because the register space remains LE (hardwired), except for Broadcom MIPS where it follows the CPU's native endian (let's call that a feature).

Thanks!

Florian Fainelli (4):
net: systemport: Use correct I/O accessors
net: dsa: bcm_sf2: Use correct I/O accessors
net: systemport: Set correct RSB endian bits based on host
net: phy: mdio-bcm-unimac: Use correct I/O accessors

 drivers/net/dsa/bcm_sf2.h                  | 12 +++++------
 drivers/net/ethernet/broadcom/bcmsysport.c | 21 ++++++++++++--------
 drivers/net/phy/mdio-bcm-unimac.c          | 32 ++++++++++++++++++++++++------
 3 files changed, 45 insertions(+), 20 deletions(-)
Signature · 1 line
1.9.1