net: phy: Stop with excessive soft reset
While consolidating the PHY reset in phy_init_hw() an unconditionaly BMCR soft-reset I became quite trigger happy with those. This was later on deactivated for the Generic PHY driver on the premise that a prior software entity (e.g: bootloader) might have applied workarounds in commit 0878fff1 ("net: phy: Do not perform software reset for Generic PHY"). Since we have a hook to wire-up a soft_reset callback, just use that and get rid of the call to genphy_soft_reset() entirely. This speeds up initialization and link establishment for most PHYs out there that do not require a reset. Fixes: 87aa9f9c ("net: phy: consolidate PHY reset in phy_init_hw()") Tested-by: Wang, Dongsheng <dongsheng.wang@hxt-semitech.com> Tested-by: Chris Healy <cphealy@gmail.com> Tested-by: Andrew Lunn <andrew@lunn.ch> Tested-by: Clemens Gruber <clemens.gruber@pqgruber.com> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
parent
71f9b61c
-
mentioned in commit 6d3ccc2a
-
mentioned in commit 94573758
-
mentioned in commit 764d31ca
-
mentioned in commit 8545519b
-
mentioned in commit 7fe12d6d
-
mentioned in commit 56756737
-
mentioned in commit b2847bf3
-
mentioned in commit 87fc6b29
-
mentioned in commit 10f2c336
-
mentioned in commit a839a79f
-
mentioned in commit 36c7e4f4
-
mentioned in commit e61fe7d1
-
mentioned in commit 218cccb5
-
mentioned in commit 25222a98
-
mentioned in commit 07327fcb
-
mentioned in commit 45d2dbef
-
mentioned in commit 16f0de91
Please register or sign in to comment