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
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