[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <973c3eb6017c4e6f9551c70b7268cf4b4b2a0324.camel@gmail.com>
Date: Sun, 19 Mar 2023 15:40:39 +0100
From: Klaus Kudielka <klaus.kudielka@...il.com>
To: Marek Behún <kabel@...nel.org>,
netdev@...r.kernel.org
Cc: Jakub Kicinski <kuba@...nel.org>,
Vladimir Oltean <olteanv@...il.com>,
Florian Fainelli <f.fainelli@...il.com>
Subject: Re: [PATCH net-next] net: dsa: mv88e6xxx: fix mdio bus' phy_mask
member
On Sun, 2023-03-19 at 15:02 +0100, Marek Behún wrote:
> Commit 2c7e46edbd03 ("net: dsa: mv88e6xxx: mask apparently non-existing
> phys during probing") added non-trivial bus->phy_mask in
> mv88e6xxx_mdio_register() in order to avoid excessive mdio bus
> transactions during probing.
>
> But the mask is incorrect for switches with non-zero phy_base_addr (such
> as 88E6341).
>
> Fix this.
>
> Fixes: 2c7e46edbd03 ("net: dsa: mv88e6xxx: mask apparently non-existing phys during probing")
> Signed-off-by: Marek Behún <kabel@...nel.org>
> ---
> I was unable to test this now, so this change needs testing.
Thanks for spotting.
I can only test this on Turris Omnia with 88E6176.
All 5 ports Ok, phy probe time unchanged.
Tested-by: Klaus Kudielka <klaus.kudielka@...il.com>
Powered by blists - more mailing lists