mbox series

[net-next,v2,0/3] net: dsa: use slave device phydev

Message ID 20170922194045.18814-1-vivien.didelot@savoirfairelinux.com
Headers show
Series net: dsa: use slave device phydev | expand

Message

Vivien Didelot Sept. 22, 2017, 7:40 p.m. UTC
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(-)