linux_dsm_epyc7002/drivers/net/phy/mscc
Antoine Tenart 2684bda347 net: phy: mscc: fix PHYs using the vsc8574_probe
PHYs using the vsc8574_probe fail to be initialized and their
config_init return -EIO leading to errors like:
"could not attach PHY: -5".

This is because when the conversion of the MSCC PHY driver to use the
shared PHY package helpers was done, the base address retrieval and the
base PHY read and write helpers in the driver were modified. In
particular, the base address retrieval logic was moved from the
config_init to the probe. But the vsc8574_probe was forgotten. This
patch fixes it.

Fixes: deb04e9c0f ("net: phy: mscc: use phy_package_shared")
Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Reviewed-by: Michael Walle <michael@walle.cc>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-05-29 12:44:27 -07:00
..
Makefile
mscc_fc_buffer.h net: phy: mscc: fix header defines and descriptions 2020-03-14 21:06:45 -07:00
mscc_mac.h net: phy: mscc: fix initialization of the MACsec protocol mode 2020-05-23 16:31:53 -07:00
mscc_macsec.c net: phy: mscc: fix initialization of the MACsec protocol mode 2020-05-23 16:31:53 -07:00
mscc_macsec.h net: phy: mscc: fix initialization of the MACsec protocol mode 2020-05-23 16:31:53 -07:00
mscc_main.c net: phy: mscc: fix PHYs using the vsc8574_probe 2020-05-29 12:44:27 -07:00
mscc.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-05-24 13:47:27 -07:00