linux-stable/drivers/net/mdio
Michael Walle 8d90991e5b net: phy: mscc-miim: reject clause 45 register accesses
The driver doesn't support clause 45 register access yet, but doesn't
check if the access is a c45 one either. This leads to spurious register
reads and writes. Add the check.

Fixes: 542671fe4d ("net: phy: mscc-miim: Add MDIO driver")
Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-04-06 13:57:48 +01:00
..
acpi_mdio.c net: mdio: Add ACPI support code for mdio 2021-06-11 13:08:53 -07:00
fwnode_mdio.c net: mdiobus: withdraw fwnode_mdbiobus_register 2021-06-25 11:46:29 -07:00
Kconfig net: mdio: mscc-miim: Add depend of REGMAP_MMIO on MDIO_MSCC_MIIM 2021-12-01 18:46:54 -08:00
Makefile net: mdio: Add ACPI support code for mdio 2021-06-11 13:08:53 -07:00
mdio-aspeed.c net: mdio: aspeed: Add missing MODULE_DEVICE_TABLE 2022-02-09 12:15:21 +00:00
mdio-bcm-iproc.c
mdio-bcm-unimac.c net: mdio: Fix spelling mistakes 2021-06-01 17:05:05 -07:00
mdio-bitbang.c
mdio-cavium.c
mdio-cavium.h
mdio-gpio.c
mdio-hisi-femac.c
mdio-i2c.c
mdio-ipq4019.c net: mdio-ipq4019: add delay after clock enable 2022-02-21 13:04:53 +00:00
mdio-ipq8064.c net: mdio: ipq8064: replace ioremap() with devm_ioremap() 2021-11-29 12:02:49 +00:00
mdio-moxart.c
mdio-mscc-miim.c net: phy: mscc-miim: reject clause 45 register accesses 2022-04-06 13:57:48 +01:00
mdio-mux-bcm-iproc.c net: mido: mdio-mux-bcm-iproc: Use devm_platform_get_and_ioremap_resource() 2021-06-10 13:59:37 -07:00
mdio-mux-bcm6368.c
mdio-mux-gpio.c
mdio-mux-meson-g12a.c net: mdio: Fix spelling mistakes 2021-06-01 17:05:05 -07:00
mdio-mux-mmioreg.c
mdio-mux-multiplexer.c
mdio-mux.c net: mdio-mux: add bus name to bus id 2022-03-08 10:28:25 +01:00
mdio-mvusb.c
mdio-octeon.c
mdio-sun4i.c
mdio-thunder.c
mdio-xgene.c drivers: net: Replace acpi_bus_get_device() 2022-02-02 08:05:06 -08:00
of_mdio.c net: mdio: use device_set_node() to setup both fwnode and of 2021-06-17 12:06:52 -07:00