All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: Russell King <rmk+kernel@armlinux.org.uk>
To: Andrew Lunn <andrew@lunn.ch>,
	Florian Fainelli <f.fainelli@gmail.com>,
	Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org, netdev@vger.kernel.org
Subject: [PATCH 04/11] phylink: add support for 2500baseX and 10GbaseKR
Date: Fri, 01 Dec 2017 10:24:32 +0000	[thread overview]
Message-ID: <E1eKiUi-0004yd-9I@rmk-PC.armlinux.org.uk> (raw)
In-Reply-To: <20171201102306.GA18792@n2100.armlinux.org.uk>

Add support for handling the faster 2.5G and 10G link modes when used
with SFP modules.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
---
 drivers/net/phy/phylink.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/phy/phylink.c b/drivers/net/phy/phylink.c
index 34ecdb892f57..06c6ad0603ac 100644
--- a/drivers/net/phy/phylink.c
+++ b/drivers/net/phy/phylink.c
@@ -1352,6 +1352,8 @@ static int phylink_sfp_module_insert(void *upstream,
 	switch (iface) {
 	case PHY_INTERFACE_MODE_SGMII:
 	case PHY_INTERFACE_MODE_1000BASEX:
+	case PHY_INTERFACE_MODE_2500BASEX:
+	case PHY_INTERFACE_MODE_10GKR:
 		mode = MLO_AN_INBAND;
 		break;
 	default:
-- 
2.7.4


  parent reply	other threads:[~2017-12-01 10:24 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-30 13:58 [PATCH 0/4] SFP/phylink fixes Russell King - ARM Linux
2017-12-01 10:23 ` [PATCH net-next 00/11] SFP/phylink updates Russell King - ARM Linux
2017-12-01 10:24   ` [PATCH 01/11] phy: add phy_interface_mode_is_8023z() helper Russell King
2017-12-01 17:20     ` Florian Fainelli
2017-12-01 10:24   ` [PATCH 02/11] phylink: merge SGMII and 802.3z handling Russell King
2017-12-01 17:21     ` Florian Fainelli
2017-12-01 10:24   ` [PATCH 03/11] phylink: get rid of separate Cisco SGMII and 802.3z modes Russell King
2017-12-01 17:22     ` Florian Fainelli
2017-12-01 10:24   ` Russell King [this message]
2017-12-01 17:22     ` [PATCH 04/11] phylink: add support for 2500baseX and 10GbaseKR Florian Fainelli
2017-12-01 10:24   ` [PATCH 05/11] phylink: remove phylink_init_eee() Russell King
2017-12-01 17:23     ` Florian Fainelli
2017-12-01 10:24   ` [PATCH 06/11] phylink: restart 802.3z negotiation when starting net device Russell King
2017-12-01 17:24     ` Florian Fainelli
2017-12-01 10:24   ` [PATCH 07/11] phylink: add documentation for kernel APIs Russell King
2017-12-01 17:28     ` Florian Fainelli
2017-12-01 10:24   ` [PATCH 08/11] sfp: " Russell King
2017-12-01 17:28     ` Florian Fainelli
2017-12-01 10:24   ` [PATCH 09/11] sfp: fix sparse warning Russell King
2017-12-01 18:17     ` Florian Fainelli
2017-12-01 10:25   ` [PATCH 10/11] sfp: convert to fwnode Russell King
2017-12-01 18:18     ` Florian Fainelli
2017-12-01 10:25   ` [PATCH 11/11] phylink: " Russell King
2017-12-01 18:19     ` Florian Fainelli
2017-12-01 10:29   ` [PATCH net-next 00/11] SFP/phylink updates Russell King - ARM Linux
2017-12-03 14:55   ` David Miller
2017-12-05 16:16   ` David Miller
2017-12-01 20:18 ` [PATCH 0/4] SFP/phylink 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=E1eKiUi-0004yd-9I@rmk-PC.armlinux.org.uk \
    --to=rmk+kernel@armlinux.org.uk \
    --cc=andrew@lunn.ch \
    --cc=corbet@lwn.net \
    --cc=f.fainelli@gmail.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /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.