Re: [RFC PATCH net-next 11/24] phy: Add an mdio_device structure

2016-01-04 Thread Florian Fainelli
On 04/01/16 09:36, Andrew Lunn wrote: > Not all devices attached to an MDIO bus are phys. So add an > mdio_device structure to represent the generic parts of an mdio > device, and place this structure into the phy_device. This looks good to me, I am just wondering if it would make sense to introdu

[RFC PATCH net-next 11/24] phy: Add an mdio_device structure

2016-01-04 Thread Andrew Lunn
Not all devices attached to an MDIO bus are phys. So add an mdio_device structure to represent the generic parts of an mdio device, and place this structure into the phy_device. Signed-off-by: Andrew Lunn --- drivers/net/ethernet/agere/et131x.c | 30 ++-- drivers/net/etherne