[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y/9zm981bYNxq1Az@lunn.ch>
Date: Wed, 1 Mar 2023 16:47:39 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Yuiko Oshino <yuiko.oshino@...rochip.com>
Cc: enguerrand.de-ribaucourt@...oirfairelinux.com,
woojung.huh@...rochip.com, hkallweit1@...il.com,
netdev@...r.kernel.org, pabeni@...hat.com, davem@...emloft.net,
UNGLinuxDriver@...rochip.com, linux@...linux.org.uk,
edumazet@...gle.com, linux-usb@...r.kernel.org, kuba@...nel.org
Subject: Re: [PATCH v3 net] net:usb:lan78xx: fix accessing the LAN7800's
internal phy specific registers from the MAC driver
On Wed, Mar 01, 2023 at 08:43:07AM -0700, Yuiko Oshino wrote:
> Move the LAN7800 internal phy (phy ID 0x0007c132) specific register
> accesses to the phy driver (microchip.c).
>
> Fix the error reported by Enguerrand de Ribaucourt in December 2022,
> "Some operations during the cable switch workaround modify the register
> LAN88XX_INT_MASK of the PHY. However, this register is specific to the
> LAN8835 PHY. For instance, if a DP8322I PHY is connected to the LAN7801,
> that register (0x19), corresponds to the LED and MAC address
> configuration, resulting in unapropriate behavior."
>
> I did not test with the DP8322I PHY, but I tested with an EVB-LAN7800
> with the internal PHY.
>
> Fixes: 14437e3fa284 ("lan78xx: workaround of forced 100 Full/Half duplex mode error")
> Signed-off-by: Yuiko Oshino <yuiko.oshino@...rochip.com>
Reviewed-by: Andrew Lunn <andrew@...n.ch>
Andrew
Powered by blists - more mailing lists