WSL2-Linux-Kernel/drivers/net/phy
Marek Behún 2148927e6e net: sfp: ignore disabled SFP node
Commit ce0aa27ff3 ("sfp: add sfp-bus to bridge between network devices
and sfp cages") added code which finds SFP bus DT node even if the node
is disabled with status = "disabled". Because of this, when phylink is
created, it ends with non-null .sfp_bus member, even though the SFP
module is not probed (because the node is disabled).

We need to ignore disabled SFP bus node.

Fixes: ce0aa27ff3 ("sfp: add sfp-bus to bridge between network devices and sfp cages")
Signed-off-by: Marek Behún <kabel@kernel.org>
Cc: stable@vger.kernel.org # 2203cbf2c8 ("net: sfp: move fwnode parsing into sfp-bus layer")
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-01-24 11:53:01 +00:00
..
mscc net_tstamp: add new flag HWTSTAMP_FLAG_BONDED_PHC_INDEX 2021-12-14 12:28:24 +00:00
Kconfig
Makefile
adin.c
amd.c
aquantia.h
aquantia_hwmon.c
aquantia_main.c
at803x.c net: phy: at803x: make array offsets static 2022-01-11 21:09:10 -08:00
ax88796b.c
bcm-cygnus.c
bcm-phy-lib.c
bcm-phy-lib.h
bcm7xxx.c
bcm63xx.c
bcm87xx.c
bcm54140.c
bcm84881.c
broadcom.c net: phy: broadcom: hook up soft_reset for BCM54616S 2022-01-20 11:27:06 +00:00
cicada.c
cortina.c
davicom.c
dp83tc811.c
dp83640.c net_tstamp: add new flag HWTSTAMP_FLAG_BONDED_PHC_INDEX 2021-12-14 12:28:24 +00:00
dp83640_reg.h
dp83822.c
dp83848.c
dp83867.c
dp83869.c
et1011c.c
fixed_phy.c Revert "net: phy: fixed_phy: Fix NULL vs IS_ERR() checking in __fixed_phy_register" 2022-01-03 18:59:16 -08:00
icplus.c
intel-xway.c
linkmode.c
lxt.c
marvell-88x2222.c
marvell.c net: phy: marvell: add Marvell specific PHY loopback 2022-01-15 22:38:27 +00:00
marvell10g.c
mdio-boardinfo.c
mdio-boardinfo.h
mdio_bus.c net: mdio: Demote probed message to debug print 2022-01-03 19:05:39 -08:00
mdio_device.c
mdio_devres.c
mediatek-ge.c
meson-gxl.c
micrel.c net: phy: micrel: use kszphy_suspend()/kszphy_resume for irq aware devices 2022-01-19 14:23:34 +00:00
microchip.c
microchip_t1.c
mii_timestamper.c
motorcomm.c
mxl-gpy.c
national.c
nxp-c45-tja11xx.c phy: nxp-c45-tja11xx: add extts and perout support 2022-01-04 12:14:19 +00:00
nxp-tja11xx.c
phy-c45.c
phy-core.c net: phy: prefer 1000baseT over 1000baseKX 2021-12-09 11:51:50 -08:00
phy.c
phy_device.c phylib: fix potential use-after-free 2022-01-20 20:17:04 -08:00
phy_led_triggers.c
phylink.c net: phylink: add pcs_validate() method 2021-12-16 10:37:13 +00:00
qsemi.c
realtek.c
rockchip.c
sfp-bus.c net: sfp: ignore disabled SFP node 2022-01-24 11:53:01 +00:00
sfp.c net: sfp: fix high power modules without diagnostic monitoring 2022-01-17 16:30:44 +00:00
sfp.h
smsc.c
spi_ks8995.c
ste10Xp.c
swphy.c
swphy.h
teranetics.c
uPD60620.c
vitesse.c
xilinx_gmii2rgmii.c