[PATCH] net: phy: realtek: fix RTL8211F interrupt mode

David Miller davem at davemloft.net
Tue Nov 14 04:34:14 PST 2017


From: Heiner Kallweit <hkallweit1 at gmail.com>
Date: Sun, 12 Nov 2017 16:16:04 +0100

> After commit b94d22d94ad22 "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.
> 
> Signed-off-by: Heiner Kallweit <hkallweit1 at gmail.com>

Applied.



More information about the linux-amlogic mailing list