summaryrefslogtreecommitdiff
path: root/drivers/target
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2017-11-12 18:16:04 +0300
committerDavid S. Miller <davem@davemloft.net>2017-11-14 15:33:50 +0300
commit3697d058b08d5b874f0253de173ef72e5d648f9a (patch)
tree0bf6655b71771abfe6aa572b23f47c9d9f68cefc /drivers/target
parent0522bab1aba552ad47f363df05bfa5d2dba80fa6 (diff)
downloadlinux-3697d058b08d5b874f0253de173ef72e5d648f9a.tar.xz
net: phy: realtek: fix RTL8211F interrupt mode
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. Fixes: 3447cf2e9a11 ("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>
Diffstat (limited to 'drivers/target')
0 files changed, 0 insertions, 0 deletions