This patchset removes the private phy_device in favor of the one provided by the slave net_device, makes slave open and close symmetrical and finally provides helpers for enabling or disabling a DSA port.
Changes in v2: - do not remove the phy argument from port enable/disable Vivien Didelot (3): net: dsa: use slave device phydev net: dsa: make slave close symmetrical to open net: dsa: add port enable and disable helpers net/dsa/dsa_priv.h | 3 +- net/dsa/port.c | 31 +++++++++++- net/dsa/slave.c | 143 +++++++++++++++++++++++------------------------------ 3 files changed, 94 insertions(+), 83 deletions(-) -- 2.14.1