[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1510590962.3607.1.camel@baylibre.com>
Date: Mon, 13 Nov 2017 17:36:02 +0100
From: Jerome Brunet <jbrunet@...libre.com>
To: Heiner Kallweit <hkallweit1@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Andrew Lunn <andrew@...n.ch>,
Florian Fainelli <f.fainelli@...il.com>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"open list:ARM/Amlogic Meson..." <linux-amlogic@...ts.infradead.org>,
Shengzhou Liu <Shengzhou.Liu@...escale.com>
Subject: Re: [PATCH] net: phy: realtek: fix RTL8211F interrupt mode
On Sun, 2017-11-12 at 16:16 +0100, Heiner Kallweit wrote:
> 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@...il.com>
Tested-by: Jerome Brunet <jbrunet@...libre.com>
Powered by blists - more mailing lists