linux-stable/drivers/net/phy
Li Yang 86fd1f1ec4 net: phy: at803x: fix the wol setting functions
[ Upstream commit e58f30246c ]

In commit 7beecaf7d5 ("net: phy: at803x: improve the WOL feature"), it
seems not correct to use a wol_en bit in a 1588 Control Register which is
only available on AR8031/AR8033(share the same phy_id) to determine if WoL
is enabled.  Change it back to use AT803X_INTR_ENABLE_WOL for determining
the WoL status which is applicable on all chips supporting wol. Also update
the at803x_set_wol() function to only update the 1588 register on chips
having it.  After this change, disabling wol at probe from commit
d7cd5e06c9 ("net: phy: at803x: disable WOL at probe") is no longer
needed.  Change it to just disable the WoL bit in 1588 register for
AR8031/AR8033 to be aligned with AT803X_INTR_ENABLE_WOL in probe.

Fixes: 7beecaf7d5 ("net: phy: at803x: improve the WOL feature")
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
Reviewed-by: Wei Fang <wei.fang@nxp.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-08-23 17:32:23 +02:00
..
mscc net: phy: mscc: enable VSC8501/2 RGMII RX clock 2023-05-24 22:14:23 -07:00
adin.c
adin1100.c
amd.c
aquantia.h
aquantia_hwmon.c net: phy: aquantia: constify pointers to hwmon_channel_info 2023-04-09 19:02:09 -07:00
aquantia_main.c net: phy: aquantia: add AQR112 and AQR412 PHY IDs 2022-11-15 20:34:27 -08:00
at803x.c net: phy: at803x: fix the wol setting functions 2023-08-23 17:32:23 +02:00
ax88796b.c
bcm-cygnus.c
bcm-phy-lib.c
bcm-phy-lib.h net: phy: bcm7xx: Correct read from expansion register 2023-05-09 20:25:52 -07:00
bcm-phy-ptp.c
bcm7xxx.c net: phy: bcm7xx: Correct read from expansion register 2023-05-09 20:25:52 -07:00
bcm63xx.c
bcm87xx.c
bcm54140.c net: phy: bcm54140: constify pointers to hwmon_channel_info 2023-04-09 19:02:09 -07:00
bcm84881.c
broadcom.c
cicada.c
cortina.c
davicom.c
dp83tc811.c
dp83td510.c net: phy: dp83td510: fix kernel stall during netboot in DP83TD510E PHY driver 2023-07-23 13:53:54 +02:00
dp83640.c
dp83640_reg.h
dp83822.c net: phy: dp83822: Fix null pointer access on DP83825/DP83826 devices 2023-01-28 00:23:58 -08:00
dp83848.c
dp83867.c Revert "net: phy: dp83867: perform soft reset and retain established link" 2023-06-20 20:20:22 -07:00
dp83869.c net: phy: dp83869: fix default value for tx-/rx-internal-delay 2023-03-24 14:52:35 -07:00
et1011c.c
fixed_phy.c
icplus.c
intel-xway.c
Kconfig net: phy: hide the PHYLIB_LEDS knob 2023-04-26 11:54:50 +02:00
linkmode.c
lxt.c
Makefile drivers/net/phy: add driver for Microchip LAN867x 10BASE-T1S PHY 2023-04-23 13:40:59 +01:00
marvell-88x2222.c net: phy: marvell-88x2222: remove unnecessary (void*) conversions 2023-04-25 09:43:50 +01:00
marvell.c net: phy: marvell: Fix inconsistent indenting in led_blink_set 2023-04-24 19:01:47 -07:00
marvell10g.c net: phy: marvell10g: fix 88x3310 power up 2023-08-03 10:25:49 +02:00
mdio-boardinfo.c
mdio-boardinfo.h
mdio-open-alliance.h drivers/net/phy: add helpers to get/set PLCA configuration 2023-01-11 08:35:02 +00:00
mdio_bus.c net: mdio: fix the wrong parameters 2023-06-20 20:17:49 -07:00
mdio_device.c net: mdio: fix unbalanced fwnode reference count in mdio_device_release() 2022-12-06 12:50:00 +01:00
mdio_devres.c net: mdio: fix owner field for mdio buses registered using device-tree 2023-03-19 10:48:35 +00:00
mediatek-ge.c
meson-gxl.c net: phy: meson-gxl: enable edpd tunable support for G12A internal PHY 2023-04-04 18:56:01 -07:00
micrel.c net: micrel: Update the list of supported phys 2023-04-19 18:40:40 -07:00
microchip.c net: lan78xx: fix accessing the LAN7800's internal phy specific registers from the MAC driver 2023-03-02 22:21:07 -08:00
microchip_t1.c net: phy: microchip: run phy initialization during each link update 2023-01-23 22:34:19 -08:00
microchip_t1s.c drivers/net/phy: add driver for Microchip LAN867x 10BASE-T1S PHY 2023-04-23 13:40:59 +01:00
mii_timestamper.c
motorcomm.c net: phy: motorcomm: uninitialized variables in yt8531_link_change_notify() 2023-02-15 21:23:33 -08:00
mxl-gpy.c net: phy: mxl-gpy: extend interrupt fix to all impacted variants 2023-06-01 09:59:36 -07:00
national.c
ncn26000.c drivers/net/phy: add driver for the onsemi NCN26000 10BASE-T1S PHY 2023-01-11 08:35:03 +00:00
nxp-c45-tja11xx.c net: phy: nxp-c45-tja11xx: add remove callback 2023-04-11 15:28:31 +02:00
nxp-cbtx.c net: phy: add basic driver for NXP CBTX PHY 2023-04-21 20:04:09 -07:00
nxp-tja11xx.c net: phy: nxp-tja11xx: constify pointers to hwmon_channel_info 2023-04-09 19:02:09 -07:00
phy-c45.c net: phy: c45: fix network interface initialization failures on xtensa, arm:cubieboard 2023-02-27 11:41:49 -08:00
phy-core.c drivers/net/phy: add the link modes for the 10BASE-T1S Ethernet PHY 2023-01-11 08:35:02 +00:00
phy.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-03-24 10:10:20 -07:00
phy_device.c net: phy: prevent stale pointer dereference in phy_init() 2023-07-27 08:57:05 +02:00
phy_led_triggers.c
phylink.c net: phylink: use a dedicated helper to parse usgmii control word 2023-06-12 16:51:20 -07:00
qsemi.c
realtek.c
rockchip.c
sfp-bus.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-03-30 14:43:03 -07:00
sfp.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-04-13 16:04:28 -07:00
sfp.h
smsc.c net: phy: smsc: enable edpd tunable support 2023-04-03 10:08:43 +01:00
spi_ks8995.c net: phy: ks8995: drop of_match_ptr for ID table 2023-03-15 08:11:02 +00:00
ste10Xp.c
swphy.c
swphy.h
teranetics.c
uPD60620.c
vitesse.c
xilinx_gmii2rgmii.c net: phy: xgmiitorgmii: Fix refcount leak in xgmiitorgmii_probe 2022-12-30 07:46:10 +00:00