android_kernel_motorola_sm6225/drivers/net/phy
Justin Chen 5f63100cf9 net: phy: broadcom: stub c45 read/write for 54810
commit 096516d092d54604d590827d05b1022c8f326639 upstream.

The 54810 does not support c45. The mmd_phy_indirect accesses return
arbirtary values leading to odd behavior like saying it supports EEE
when it doesn't. We also see that reading/writing these non-existent
MMD registers leads to phy instability in some cases.

Fixes: b14995ac25 ("net: phy: broadcom: Add BCM54810 PHY entry")
Signed-off-by: Justin Chen <justin.chen@broadcom.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://lore.kernel.org/r/1691901708-28650-1-git-send-email-justin.chen@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
[florian: resolved conflicts in 4.19]
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-08-30 16:31:50 +02:00
..
amd.c
aquantia.c
at803x.c
ax88796b.c
bcm-cygnus.c
bcm-phy-lib.c net: phy: broadcom: Only advertise EEE for supported modes 2021-04-16 11:49:30 +02:00
bcm-phy-lib.h
bcm7xxx.c net: phy: bcm7xxx: Fixed indirect MMD operations 2021-10-17 10:19:48 +02:00
bcm63xx.c
bcm87xx.c
broadcom.c net: phy: broadcom: stub c45 read/write for 54810 2023-08-30 16:31:50 +02:00
cicada.c
cortina.c
davicom.c
dp83tc811.c
dp83640.c net: dp83640: fix SIOCSHWTSTAMP to update the struct with actual configuration 2020-07-29 10:16:49 +02:00
dp83640_reg.h ptp: dp83640: don't define PAGE0 2021-09-22 11:48:11 +02:00
dp83822.c net: dp83822: disable rx error interrupt 2022-09-20 12:26:48 +02:00
dp83848.c
dp83867.c
et1011c.c
fixed_phy.c
icplus.c
intel-xway.c
Kconfig mdio: fix mdio-thunder.c dependency & build error 2020-10-14 10:31:25 +02:00
lxt.c
Makefile
marvell.c net: phy: marvell: Fix MDI-x polarity setting in 88e1118-compatible PHYs 2022-02-16 12:51:43 +01:00
marvell10g.c
mdio-bcm-iproc.c
mdio-bcm-unimac.c
mdio-bitbang.c
mdio-boardinfo.c
mdio-boardinfo.h
mdio-cavium.c
mdio-cavium.h
mdio-gpio.c
mdio-hisi-femac.c
mdio-i2c.c
mdio-i2c.h
mdio-moxart.c
mdio-mscc-miim.c
mdio-mux-bcm-iproc.c net: phy: mdio-mux-bcm-iproc: check clk_prepare_enable() return value 2020-04-02 15:28:13 +02:00
mdio-mux-gpio.c
mdio-mux-mmioreg.c
mdio-mux.c net: mdio-mux: Handle -EPROBE_DEFER correctly 2021-08-26 08:36:47 -04:00
mdio-octeon.c net: mdio: octeon: Fix some double free issues 2021-06-03 08:38:11 +02:00
mdio-sun4i.c
mdio-thunder.c net: mdio: thunder: Add missing fwnode_handle_put() 2023-04-05 11:15:35 +02:00
mdio-xgene.c
mdio-xgene.h
mdio_bus.c net: mdio: validate parameter addr in mdiobus_get_phy() 2023-02-06 07:49:39 +01:00
mdio_device.c net: mdio: introduce a shutdown method to mdio device drivers 2021-10-09 14:11:03 +02:00
meson-gxl.c net: phy: meson-gxl: Add generic dummy stubs for MMD register access 2023-02-22 12:47:22 +01:00
micrel.c net: phy: micrel: Allow probing without .driver_data 2022-06-14 16:59:17 +02:00
microchip.c
microchip_t1.c
mscc.c
national.c
phy-c45.c
phy-core.c
phy.c net: phy: fix save wrong speed and duplex problem if autoneg is on 2021-03-17 16:43:45 +01:00
phy_device.c net: phy: fix null-ptr-deref while probe() failed 2022-12-08 11:18:33 +01:00
phy_led_triggers.c
phylink.c net: sfp: ignore disabled SFP node 2022-02-08 18:23:06 +01:00
qsemi.c
realtek.c
rockchip.c
sfp-bus.c net: sfp: add some quirks for GPON modules 2020-07-22 09:32:03 +02:00
sfp.c net: sfp: fix memory leak in sfp_probe() 2022-07-21 21:09:31 +02:00
sfp.h
smsc.c net: phy: smsc: bail out in lan87xx_read_status if genphy_read_status fails 2023-03-22 13:27:09 +01:00
spi_ks8995.c
ste10Xp.c
swphy.c
swphy.h
teranetics.c
uPD60620.c
vitesse.c
xilinx_gmii2rgmii.c net: phy: xgmiitorgmii: Fix refcount leak in xgmiitorgmii_probe 2023-01-18 11:30:49 +01:00