From: Phil Reid <hidden> Date: 2016-03-15 07:44:37
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
From: Phil Reid <hidden> Date: 2016-03-15 07:44:30
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.
Signed-off-by: Phil Reid <redacted>
---
drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | 4 ++++
1 file changed, 4 insertions(+)
From: Giuseppe CAVALLARO <hidden> Date: 2016-03-16 09:36:37
On 3/15/2016 8:34 AM, Phil Reid wrote:
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.
iiuc, this doesn't conflict with the recent rework we are doing
for the mdio/phy platform management.
From: Phil Reid <hidden> Date: 2016-03-16 13:18:45
On 16/03/2016 5:36 PM, Giuseppe CAVALLARO wrote:
On 3/15/2016 8:34 AM, Phil Reid wrote:
quoted
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.
iiuc, this doesn't conflict with the recent rework we are doing
for the mdio/phy platform management.
It should apply equally well before or after the rework.
From: David Miller <davem@davemloft.net> Date: 2016-03-18 22:31:27
From: Phil Reid <redacted>
Date: Tue, 15 Mar 2016 15:34:33 +0800
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.
Signed-off-by: Phil Reid <redacted>