RE: [RFC PATCH net-next 10/24] mdio: Move allocation of interrupts into core

2016-01-06 Thread Shaohui Xie
> Have mdio_alloc() create the array of interrupt numbers, and > initialize it to POLLING. This is what most MDIO drivers want, so > allowing code to be removed from the drivers. > [S.H] Snip. > diff --git a/drivers/net/phy/mdio_bus.c b/drivers/net/phy/mdio_bus.c > index 88cb4592b6fb..05381d0f559

Re: [RFC PATCH net-next 10/24] mdio: Move allocation of interrupts into core

2016-01-04 Thread Florian Fainelli
On 04/01/16 09:36, Andrew Lunn wrote: > Have mdio_alloc() create the array of interrupt numbers, and > initialize it to POLLING. This is what most MDIO drivers want, so > allowing code to be removed from the drivers. Yeah, this should have been done a long time ago, thanks! Reviewed-by: Florian F

[RFC PATCH net-next 10/24] mdio: Move allocation of interrupts into core

2016-01-04 Thread Andrew Lunn
Have mdio_alloc() create the array of interrupt numbers, and initialize it to POLLING. This is what most MDIO drivers want, so allowing code to be removed from the drivers. Signed-off-by: Andrew Lunn --- arch/powerpc/platforms/82xx/ep8248e.c| 10 +- arch/powerpc/platforms