netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] net: stmmac: Don't search for phys if mdio node is defined.
@ 2016-03-15  7:34 Phil Reid
  2016-03-15  7:34 ` [PATCH 1/1] " Phil Reid
  0 siblings, 1 reply; 5+ messages in thread
From: Phil Reid @ 2016-03-15  7:34 UTC (permalink / raw)
  To: peppe.cavallaro, netdev; +Cc: Phil Reid

If a dt mdio entry has been added least assume that we wont
search for phys attached. The DT and of_mdiobus_register already do
this. This stops DSA phys being found and phys created for them, as
this is handled by the DSA driver.

Note: I'm not 100% sure that priv->plat->phy_node should be included
in the conditional here. But it looks like if a phy-handle is used
then we don't want to search for phys.

Phil Reid (1):
  net: stmmac: Don't search for phys if mdio node is defined.

 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | 4 ++++
 1 file changed, 4 insertions(+)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-03-18 22:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-15  7:34 [PATCH 0/1] net: stmmac: Don't search for phys if mdio node is defined Phil Reid
2016-03-15  7:34 ` [PATCH 1/1] " Phil Reid
2016-03-16  9:36   ` Giuseppe CAVALLARO
2016-03-16 13:18     ` Phil Reid
2016-03-18 22:31   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).