[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230319175348.lg6is633myxotqgs@skbuf>
Date: Sun, 19 Mar 2023 19:53:48 +0200
From: Vladimir Oltean <olteanv@...il.com>
To: Marek Behún <kabel@...nel.org>
Cc: netdev@...r.kernel.org, Jakub Kicinski <kuba@...nel.org>,
Klaus Kudielka <klaus.kudielka@...il.com>,
Florian Fainelli <f.fainelli@...il.com>
Subject: Re: [PATCH net-next] net: dsa: mv88e6xxx: fix mdio bus' phy_mask
member
On Sun, Mar 19, 2023 at 03:02:38PM +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.
You should be able to test it if you remove the phy-handles and the mdio
subnode from the device tree.
Reviewed-by: Vladimir Oltean <olteanv@...il.com>
Powered by blists - more mailing lists