linux-stable/drivers/net/phy
Russell King f5058a27da net: phylink: propagate phy_attach_direct() return code
of_phy_attach() hides the return value of phy_attach_direct(), forcing
us to return a "generic" ENODEV error code that is indistinguishable
from the lack-of-phy-property case.

Switch to using of_phy_find_device() to find the PHY device, and then
propagating any phy_attach_direct() error back to the caller.

Link: https://lore.kernel.org/lkml/20191210113829.GT25745@shell.armlinux.org.uk
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
2019-12-14 20:18:57 -08:00
..
adin.c net: phy: adin: implement Energy Detect Powerdown mode via phy-tunable 2019-09-16 22:02:45 +02:00
amd.c
aquantia.h net: phy: Use the correct style for SPDX License Identifier 2019-11-27 11:25:48 -08:00
aquantia_hwmon.c
aquantia_main.c net: phy: aquantia: add USXGMII support and warn if XGMII mode is set 2019-05-24 13:39:34 -07:00
at803x.c net: phy: at803x: remove config_init for AR9331 2019-11-06 21:42:06 -08:00
ax88796b.c net: phy: rename Asix Electronics PHY driver 2019-06-09 13:24:17 -07:00
bcm-cygnus.c
bcm-phy-lib.c
bcm-phy-lib.h net: phy: Use the correct style for SPDX License Identifier 2019-11-27 11:25:48 -08:00
bcm7xxx.c net: phy: bcm7xxx: define soft_reset for 40nm EPHY 2019-10-18 10:00:07 -07:00
bcm63xx.c
bcm87xx.c net: phy: bcm87xx: improve bcm87xx_config_init and feature detection 2019-05-26 21:56:41 -07:00
bcm84881.c net: phy: add Broadcom BCM84881 PHY driver 2019-12-11 11:53:42 -08:00
broadcom.c net: phy: broadcom: add 1000Base-X support for BCM54616S 2019-10-23 20:42:52 -07:00
cicada.c
cortina.c
davicom.c
dp83tc811.c net: phy: remove calls to genphy_config_init 2019-08-17 12:34:50 -07:00
dp83640.c dp83640: Reject requests to enable time stamping on both edges. 2019-11-15 12:48:32 -08:00
dp83640_reg.h
dp83822.c net: phy: remove calls to genphy_config_init 2019-08-17 12:34:50 -07:00
dp83848.c net: phy: remove calls to genphy_config_init 2019-08-17 12:34:50 -07:00
dp83867.c net: phy: dp83867: Add rx-fifo-depth and tx-fifo-depth 2019-12-09 20:19:10 -08:00
dp83869.c net: phy: dp83869: Remove unneeded semicolon 2019-12-14 16:11:40 -08:00
et1011c.c
fixed_phy.c net: phy: fixed_phy: print gpio error only if gpio node is present 2019-07-30 09:54:45 -07:00
icplus.c
intel-xway.c
Kconfig net: phy: add Broadcom BCM84881 PHY driver 2019-12-11 11:53:42 -08:00
lxt.c
Makefile net: phy: add Broadcom BCM84881 PHY driver 2019-12-11 11:53:42 -08:00
marvell.c net: phy: marvell: add downshift support for 88E1145 2019-10-30 17:35:56 -07:00
marvell10g.c net: sfp: derive interface mode from ethtool link modes 2019-12-11 11:53:41 -08:00
mdio-aspeed.c net: phy: Add mdio-aspeed 2019-08-02 17:56:28 -07:00
mdio-bcm-iproc.c phy: mdio-bcm-iproc: use devm_platform_ioremap_resource() to simplify code 2019-08-28 14:51:00 -07:00
mdio-bcm-unimac.c
mdio-bitbang.c
mdio-boardinfo.c
mdio-boardinfo.h
mdio-cavium.c
mdio-cavium.h net: phy: Use the correct style for SPDX License Identifier 2019-11-27 11:25:48 -08:00
mdio-gpio.c
mdio-hisi-femac.c phy: mdio-hisi-femac: use devm_platform_ioremap_resource() to simplify code 2019-08-28 14:51:00 -07:00
mdio-i2c.c net: mdio-i2c: add support for Clause 45 accesses 2019-12-11 11:53:41 -08:00
mdio-i2c.h net: phy: Use the correct style for SPDX License Identifier 2019-11-27 11:25:48 -08:00
mdio-moxart.c phy: mdio-moxart: use devm_platform_ioremap_resource() to simplify code 2019-08-28 14:51:00 -07:00
mdio-mscc-miim.c
mdio-mux-bcm-iproc.c
mdio-mux-gpio.c
mdio-mux-meson-g12a.c phy: mdio-mux-meson-g12a: use devm_platform_ioremap_resource() to simplify code 2019-08-28 14:51:00 -07:00
mdio-mux-mmioreg.c
mdio-mux-multiplexer.c
mdio-mux.c
mdio-octeon.c
mdio-sun4i.c phy: mdio-sun4i: add missed regulator_disable in remove 2019-11-18 17:22:40 -08:00
mdio-thunder.c phy: mdio-thunder: add missed pci_release_regions in remove 2019-12-06 12:05:06 -08:00
mdio-xgene.c net: phy: xgene: use devm_platform_ioremap_resource() to simplify code 2019-08-01 13:10:34 -04:00
mdio-xgene.h net: phy: Use the correct style for SPDX License Identifier 2019-11-27 11:25:48 -08:00
mdio_bus.c mdio_bus: don't use managed reset-controller 2019-11-25 10:43:40 -08:00
mdio_device.c net: phy: allow for reset line to be tied to a sleepy GPIO controller 2019-10-04 18:07:45 -07:00
meson-gxl.c net: phy: remove calls to genphy_config_init 2019-08-17 12:34:50 -07:00
micrel.c net: phy: micrel: Update KSZ87xx PHY name 2019-10-17 16:31:52 -07:00
microchip.c net: phy: remove calls to genphy_config_init 2019-08-17 12:34:50 -07:00
microchip_t1.c net: phy: remove calls to genphy_config_init 2019-08-17 12:34:50 -07:00
mscc.c mscc.c: fix semicolon.cocci warnings 2019-11-16 13:13:26 -08:00
national.c net/phy: fix DP83865 10 Mbps HDX loopback disable function 2019-09-21 18:21:52 -07:00
nxp-tja11xx.c net: phy: tja11xx: Switch to HWMON_CHANNEL_INFO() 2019-05-29 22:02:18 -07:00
phy-c45.c net: phy: Fix "link partner" information disappear issue 2019-10-16 13:17:01 -07:00
phy-core.c net: phy: add helpers phy_(un)lock_mdio_bus 2019-11-25 10:47:00 -08:00
phy.c net: phy: remove phy_ethtool_sset() 2019-11-23 10:46:26 -08:00
phy_device.c net: phy: initialise phydev speed and duplex sanely 2019-11-23 10:46:41 -08:00
phy_led_triggers.c net: phy: phy_led_triggers: Fix a possible null-pointer dereference in phy_led_trigger_change_speed() 2019-07-31 18:56:11 -04:00
phylink.c net: phylink: propagate phy_attach_direct() return code 2019-12-14 20:18:57 -08:00
qsemi.c
realtek.c net: phy: realtek: fix using paged operations with RTL8105e / RTL8208 2019-12-01 13:14:21 -08:00
rockchip.c
sfp-bus.c net: phylink: delay MAC configuration for copper SFP modules 2019-12-11 11:53:41 -08:00
sfp.c net: sfp: re-attempt probing for phy 2019-12-11 12:46:12 -08:00
sfp.h net: sfp: add module start/stop upstream notifications 2019-12-11 11:53:41 -08:00
smsc.c net: phy: smsc: LAN8740: add PHY_RST_AFTER_CLK_EN flag 2019-10-23 21:44:44 -07:00
spi_ks8995.c
ste10Xp.c
swphy.c net: phy: swphy: emulate register MII_ESTATUS 2019-08-15 11:43:48 -07:00
swphy.h
teranetics.c
uPD60620.c
vitesse.c net: phy: remove calls to genphy_config_init 2019-08-17 12:34:50 -07:00
xilinx_gmii2rgmii.c net: phy: gmii2rgmii: Dont use priv field in phy device 2019-09-05 12:32:06 +02:00