Home
last modified time | relevance | path

Searched hist:"6457 edfe7344ac1da334b9f24a42aacea084a451" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/dsa/
H A Dslave.cdiff 6457edfe7344ac1da334b9f24a42aacea084a451 Fri Sep 22 18:01:55 CDT 2017 Vivien Didelot <vivien.didelot@savoirfairelinux.com> net: dsa: make slave close symmetrical to open

The DSA slave open function configures the unicast MAC addresses on the
master device, enable the switch port, change its STP state, then start
the PHY device.

Make the close function symmetric, by first stopping the PHY device,
then changing the STP state, disabling the switch port and restore the
master device.

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