Re: [PATCH 2/2] net: mdio: support c45 peripherals on c22 busses

2021-03-31 Thread danilokrummrich
On 2021-03-31 20:35, Russell King - ARM Linux admin wrote: On Wed, Mar 31, 2021 at 07:58:33PM +0200, danilokrummr...@dk-develop.de wrote: For this cited change the only thing happening is that if get_phy_device() already failed for probing with is_c45==false (C22 devices) it tries to probe with

Re: [PATCH 2/2] net: mdio: support c45 peripherals on c22 busses

2021-03-31 Thread danilokrummrich
Hi Andrew, On 2021-03-31 18:27, Andrew Lunn wrote: @@ -670,19 +670,21 @@ struct phy_device *mdiobus_scan(struct mii_bus *bus, int addr) struct phy_device *phydev = ERR_PTR(-ENODEV); int err; + /* In case of NO_CAP and C22 only, we still can try to scan for C45 + * device