lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 15 Jul 2020 20:06:09 -0700 From: Florian Fainelli <f.fainelli@...il.com> To: Calvin Johnson <calvin.johnson@....nxp.com>, Jeremy Linton <jeremy.linton@....com>, Russell King - ARM Linux admin <linux@...linux.org.uk>, Jon <jon@...id-run.com>, Cristi Sovaiala <cristian.sovaiala@....com>, Ioana Ciornei <ioana.ciornei@....com>, Andrew Lunn <andrew@...n.ch>, Andy Shevchenko <andy.shevchenko@...il.com>, Madalin Bucur <madalin.bucur@....nxp.com> Cc: netdev@...r.kernel.org, linux.cj@...il.com, linux-acpi@...r.kernel.org Subject: Re: [net-next PATCH v7 4/6] net: phy: introduce phy_find_by_mdio_handle() On 7/15/2020 2:03 AM, Calvin Johnson wrote: > The PHYs on an mdiobus are probed and registered using mdiobus_register(). > Later, for connecting these PHYs to MAC, the PHYs registered on the > mdiobus have to be referenced. > > For each MAC node, a property "mdio-handle" is used to reference the > MDIO bus on which the PHYs are registered. On getting hold of the MDIO > bus, use phy_find_by_fwnode() to get the PHY connected to the MAC. > > Introduce fwnode_mdio_find_bus() to find the mii_bus that corresponds > to given mii_bus fwnode. > > Signed-off-by: Calvin Johnson <calvin.johnson@....nxp.com> Reviewed-by: Florian Fainelli <f.fainelli@...il.com> -- Florian
Powered by blists - more mailing lists