Skip to content

net: phy: consolidate PHY reset

Florian Fainelli netdev 2 versions Applied

Status from this message: Applied, thanks again!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 2 repliesApplied
  2. v19 patches 2 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/9net: phy: report link partner features through ethtooldrivers/net/phy/phy.c drivers/net/phy/phy_device.c include/linux/phy.h+10 -20 replies
2/9net: phy: use phy_init_hw instead of open-coding itdrivers/net/phy/phy.c+2 -50 replies
3/9net: greth: use phy_read_status()drivers/net/ethernet/aeroflex/greth.c+1 -10 replies
4/9net: bfin_mac: do not reset PHY after phy_start()drivers/net/ethernet/adi/bfin_mac.c+0 -10 replies
5/9net: phy: consolidate PHY reset in phy_init_hw()Documentation/networking/phy.txt drivers/net/phy/phy.c drivers/net/phy/phy_device.c+60 -40 replies
6/9net: mv643xx_eth: use phy_init_hw to reset PHYdrivers/net/ethernet/marvell/mv643xx_eth.c+1 -201 reply
7/9net: pxa168_eth: use phy_init_hw for PHY resetdrivers/net/ethernet/marvell/pxa168_eth.c+1 -190 replies
8/9net: tc35815: use phy_init_hw for PHY resetdrivers/net/ethernet/toshiba/tc35815.c+4 -110 replies
9/9net: sh_eth: do not issue a wild PHY reset through BMCRdrivers/net/ethernet/renesas/sh_eth.c+4 -10 replies

Reviews trailers per patch

None of the 9 patches has a Reviewed-by or Acked-by.

PatchSebastian Hesselbarth
1/9
2/9
3/9
4/9
5/9
6/9T-b
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH net-next v2 0/9] net: phy: consolidate PHY reset

This patchset consolidates the PHY reset through the MII BMCR register by using a central place were this is done.

This patchset resumes the work Kyle Moffett started here:
https://lkml.org/lkml/2011/10/20/301

Note that at this point, drivers doing funky things after issuing a PHY reset using phy_init_hw() will still suffer from PHY state machine problems, this will be taken care of later on.

Florian Fainelli (9):
net: phy: report link partner features through ethtool
net: phy: use phy_init_hw instead of open-coding it
net: greth: use phy_read_status()
net: bfin_mac: do not reset PHY after phy_start()
net: phy: consolidate PHY reset in phy_init_hw()
net: mv643xx_eth: use phy_init_hw to reset PHY
net: pxa168_eth: use phy_init_hw for PHY reset
net: tc35815: use phy_init_hw for PHY reset
net: sh_eth: do not issue a wild PHY reset through BMCR

 Documentation/networking/phy.txt           |  3 +-
 drivers/net/ethernet/adi/bfin_mac.c        |  1 -
 drivers/net/ethernet/aeroflex/greth.c      |  2 +-
 drivers/net/ethernet/marvell/mv643xx_eth.c | 21 +---------
 drivers/net/ethernet/marvell/pxa168_eth.c  | 20 +---------
 drivers/net/ethernet/renesas/sh_eth.c      |  5 ++-
 drivers/net/ethernet/toshiba/tc35815.c     | 15 ++------
 drivers/net/phy/phy.c                      | 11 +++---
 drivers/net/phy/phy_device.c               | 62 +++++++++++++++++++++++++++++-
 include/linux/phy.h                        |  5 ++-
 10 files changed, 82 insertions(+), 63 deletions(-)
Signature · 1 line
1.8.3.2