linux/drivers/net/phy
Heiner Kallweit 3697d058b0 net: phy: realtek: fix RTL8211F interrupt mode
After commit b94d22d94a "ARM64: dts: meson-gx: add external PHY
interrupt on some platforms" ethernet stopped working on my Odroid-C2
which has a RTL8211F phy.

It turned out that no interrupts were triggered. Further analysis
showed the register INER can't be altered on page 0.
Because register INSR needs to be accessed via page 0xa43 I assumed
that register INER needs to be accessed via some page too.
Some brute force check resulted in page 0xa42 being the right one.

With this patch the phy is working properly in interrupt mode.

Fixes: 3447cf2e9a ("net/phy: Add support for Realtek RTL8211F")
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Tested-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-11-14 21:33:50 +09:00
..
Kconfig net: phy: leds: Add support for "link" trigger 2017-11-08 10:24:14 +09:00
Makefile Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-11-04 09:26:51 +09:00
amd.c
aquantia.c
at803x.c net: phy: at803x: Change error to EINVAL for invalid MAC 2017-10-11 14:14:32 -07:00
bcm-cygnus.c
bcm-phy-lib.c
bcm-phy-lib.h
bcm7xxx.c
bcm63xx.c
bcm87xx.c
broadcom.c net: phy: broadcom: support new device flag for setting master mode 2017-10-12 22:59:38 -07:00
cicada.c
cortina.c
davicom.c
dp83640.c
dp83640_reg.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dp83822.c
dp83848.c
dp83867.c
et1011c.c
fixed_phy.c
icplus.c
intel-xway.c
lxt.c
marvell.c net: phy: marvell: Only configure RGMII delays when using RGMII 2017-11-01 11:26:08 +09:00
marvell10g.c
mdio-bcm-iproc.c
mdio-bcm-unimac.c
mdio-bitbang.c
mdio-boardinfo.c
mdio-boardinfo.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mdio-cavium.c
mdio-cavium.h
mdio-gpio.c
mdio-hisi-femac.c
mdio-i2c.c
mdio-i2c.h
mdio-moxart.c
mdio-mux-bcm-iproc.c
mdio-mux-gpio.c
mdio-mux-mmioreg.c
mdio-mux.c
mdio-octeon.c
mdio-sun4i.c
mdio-thunder.c
mdio-xgene.c
mdio-xgene.h
mdio_bus.c
mdio_device.c
meson-gxl.c
micrel.c
microchip.c
mscc.c
national.c
phy-c45.c
phy-core.c
phy.c
phy_device.c
phy_led_triggers.c net: phy: leds: Add support for "link" trigger 2017-11-08 10:24:14 +09:00
phylink.c phylink: make local function phylink_phy_change() static 2017-11-04 22:31:00 +09:00
qsemi.c
realtek.c net: phy: realtek: fix RTL8211F interrupt mode 2017-11-14 21:33:50 +09:00
rockchip.c
sfp-bus.c net: phy: Cosmetic fixes to phylink/sfp/sfp-bus.c 2017-11-01 21:15:09 +09:00
sfp.c net: phy: Fix sfp.c build against GPIO definitions 2017-11-01 21:15:09 +09:00
sfp.h
smsc.c
spi_ks8995.c
ste10Xp.c
swphy.c
swphy.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
teranetics.c
uPD60620.c
vitesse.c
xilinx_gmii2rgmii.c