Skip to content

Fix register misuse in drivers/net/phy/marvel.c

Wang Jian netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Fix copper/fiber auto-selection for 88e1111drivers/net/phy/marvell.c+0 -00 replies
2/2Fix 88e1111 copper/fiber selection in RGMII modedrivers/net/phy/marvell.c+0 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] Fix register misuse in drivers/net/phy/marvel.c

These 2 patches fixed misuse of register for 88e1111.

The problem can be reproduced in my powerpc dev board.

With fiber plugged, start the board in u-boot, the fiber link is established and data transfer is ok. Booting into kernel with current marvell.c implementation, and "ifconfig ethX up", the fiber link is lost.

The #1 patch fixed this.

The #2 patch is obvious but I can't test it myself because the board I have using 88e1111 in GMII mode.

Notice: These two patches didn't fix some auto selection problem yet. I will discuss the problem in seperate email.