]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: Set STP disable state in port_disable
authorAndrew Lunn <andrew@lunn.ch>
Tue, 30 Apr 2019 22:08:30 +0000 (00:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 May 2019 03:53:06 +0000 (23:53 -0400)
commit6e86c62b6aea4b05a1d6318b63546daec745e85c
tree1915c587d8deffdcfaaef24a56f8521f94efb0db
parent17acd0b7fafc35502de9141630c600b1a861e66f
net: dsa: mv88e6xxx: Set STP disable state in port_disable

When requested to disable a port, set the port STP state to disabled.
This fully disables the port and should save some power.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Vivien Didelot <vivien.didelot@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c