mbox series

[net,v2,0/2] mv88e6xxx fixed link fixes

Message ID 20200414003439.606724-1-andrew@lunn.ch
Headers show
Series mv88e6xxx fixed link fixes | expand

Message

Andrew Lunn April 14, 2020, 12:34 a.m. UTC
Recent changes for how the MAC is configured broke fixed links, as
used by CPU/DSA ports, and for SFPs when phylink cannot be used. The
first fix is unchanged from v1. The second fix takes a different
solution than v1. If a CPU or DSA port is known to have a PHYLINK
instance, configure the port down before instantiating the PHYLINK, so
it is in the down state as expected by PHYLINK.

Andrew Lunn (2):
  net: dsa: mv88e6xxx: Configure MAC when using fixed link
  net: dsa: Down cpu/dsa ports phylink will control

 drivers/net/dsa/mv88e6xxx/chip.c | 5 +++--
 net/dsa/port.c                   | 7 ++++++-
 2 files changed, 9 insertions(+), 3 deletions(-)