Re: [PATCH 2/2] ftgmac100: Make the MDIO bus a child of the ethernet device

2017-07-24 Thread David Miller
From: Benjamin Herrenschmidt Date: Mon, 24 Jul 2017 16:59:07 +1000 > Populate mii_bus->parent with our own platform device before > registering, which makes it easier to locate the MDIO bus > in sysfs when trying to diagnose problems. > > Signed-off-by: Benjamin

Re: [PATCH 2/2] ftgmac100: Make the MDIO bus a child of the ethernet device

2017-07-24 Thread Joel Stanley
On Mon, Jul 24, 2017 at 4:29 PM, Benjamin Herrenschmidt wrote: > Populate mii_bus->parent with our own platform device before > registering, which makes it easier to locate the MDIO bus > in sysfs when trying to diagnose problems. > > Signed-off-by: Benjamin

[PATCH 2/2] ftgmac100: Make the MDIO bus a child of the ethernet device

2017-07-24 Thread Benjamin Herrenschmidt
Populate mii_bus->parent with our own platform device before registering, which makes it easier to locate the MDIO bus in sysfs when trying to diagnose problems. Signed-off-by: Benjamin Herrenschmidt --- drivers/net/ethernet/faraday/ftgmac100.c | 1 + 1 file changed, 1