Re: [PATCH net-next] net: phy: mdio-boardinfo: Allow recursive mdiobus_register()

2018-04-20 Thread Andrew Lunn
On Fri, Apr 20, 2018 at 10:34:30AM -0400, David Miller wrote: > From: Andrew Lunn > Date: Thu, 19 Apr 2018 02:00:47 +0200 > > > mdiobus_register will search for any mdiobus board info registered for > > the bus being registered. If found, it will probe devices on the bus. > > That device, if for

Re: [PATCH net-next] net: phy: mdio-boardinfo: Allow recursive mdiobus_register()

2018-04-20 Thread David Miller
From: Andrew Lunn Date: Thu, 19 Apr 2018 02:00:47 +0200 > mdiobus_register will search for any mdiobus board info registered for > the bus being registered. If found, it will probe devices on the bus. > That device, if for example it is an ethernet switch, may then try to > register an mdio bus.

Re: [PATCH net-next] net: phy: mdio-boardinfo: Allow recursive mdiobus_register()

2018-04-18 Thread Andrew Lunn
On Wed, Apr 18, 2018 at 05:14:36PM -0700, Florian Fainelli wrote: > On 04/18/2018 05:00 PM, Andrew Lunn wrote: > > mdiobus_register will search for any mdiobus board info registered for > > the bus being registered. If found, it will probe devices on the bus. > > That device, if for example it is a

Re: [PATCH net-next] net: phy: mdio-boardinfo: Allow recursive mdiobus_register()

2018-04-18 Thread Florian Fainelli
On 04/18/2018 05:00 PM, Andrew Lunn wrote: > mdiobus_register will search for any mdiobus board info registered for > the bus being registered. If found, it will probe devices on the bus. > That device, if for example it is an ethernet switch, may then try to > register an mdio bus. Thus we need to

[PATCH net-next] net: phy: mdio-boardinfo: Allow recursive mdiobus_register()

2018-04-18 Thread Andrew Lunn
mdiobus_register will search for any mdiobus board info registered for the bus being registered. If found, it will probe devices on the bus. That device, if for example it is an ethernet switch, may then try to register an mdio bus. Thus we need to allow recursive calls to mdiobus_register. Holdin