All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: David Miller <davem@davemloft.net>
Cc: netdev <netdev@vger.kernel.org>,
	Russell King <rmk+kernel@armlinux.org.uk>,
	Vivien Didelot <vivien.didelot@gmail.com>,
	Andrew Lunn <andrew@lunn.ch>
Subject: [PATCH net v2 0/2] mv88e6xxx fixed link fixes
Date: Tue, 14 Apr 2020 02:34:37 +0200	[thread overview]
Message-ID: <20200414003439.606724-1-andrew@lunn.ch> (raw)

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(-)

-- 
2.26.0


             reply	other threads:[~2020-04-14  0:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-14  0:34 Andrew Lunn [this message]
2020-04-14  0:34 ` [PATCH net v2 1/2] net: dsa: mv88e6xxx: Configure MAC when using fixed link Andrew Lunn
2020-04-14  0:34 ` [PATCH net v2 2/2] net: dsa: Down cpu/dsa ports phylink will control Andrew Lunn
2020-04-14  9:31   ` Sergei Shtylyov
2020-04-14 23:33 ` [PATCH net v2 0/2] mv88e6xxx fixed link fixes David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200414003439.606724-1-andrew@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=rmk+kernel@armlinux.org.uk \
    --cc=vivien.didelot@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.