Re: [PATCH net-next 1/6] net: dsa: mv88e6xxx: add helper to disable ports

2016-11-30 Thread Andrew Lunn
On Wed, Nov 30, 2016 at 05:59:25PM -0500, Vivien Didelot wrote: > Before resetting a switch, the ports should be set to the Disabled state > and the transmit queues should be drained. > > Add an helper to explicit that. > > Signed-off-by: Vivien Didelot Reviewed-by: Andrew Lunn Andrew

[PATCH net-next 1/6] net: dsa: mv88e6xxx: add helper to disable ports

2016-11-30 Thread Vivien Didelot
Before resetting a switch, the ports should be set to the Disabled state and the transmit queues should be drained. Add an helper to explicit that. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6xxx/chip.c | 34 +++--- 1 file changed, 23 insertions(+), 11 de