Re: [RFC PATCH net-next 00/24] Support MDIO devices

2016-01-04 Thread Andrew Lunn
> - what kind of API do we need to offer to Ethernet MAC driver? Would > attach/detach and maybe adjust_link be good enough? I was not going to offer it any! At least not at the MDIO layer. Maybe i have DSA too much in mind. But all we need for DSA is probe and remove. When the MDIO device is pro

Re: [RFC PATCH net-next 00/24] Support MDIO devices

2016-01-04 Thread Florian Fainelli
Hi Andrew, On 04/01/16 09:36, Andrew Lunn wrote: > The discussions about changing the way DSA probes switches resulted in > the wish to have switches attached to an MDIO bus to be represented as > an MDIO device. However the current code only supports PHYs on MDIO > busses. This patchset remedies

[RFC PATCH net-next 00/24] Support MDIO devices

2016-01-04 Thread Andrew Lunn
The discussions about changing the way DSA probes switches resulted in the wish to have switches attached to an MDIO bus to be represented as an MDIO device. However the current code only supports PHYs on MDIO busses. This patchset remedies this problem. It consists of a number of cleanups, abstrac