From: Robert Hancock <hancock@sedsystems.ca>
To: netdev@vger.kernel.org
Cc: linux@armlinux.org.uk, Robert Hancock <hancock@sedsystems.ca>
Subject: [PATCH net-next] net: sfp: Set 1000BaseX support flag for 1000BaseT modules
Date: Fri, 31 May 2019 13:18:01 -0600 [thread overview]
Message-ID: <1559330285-30246-1-git-send-email-hancock@sedsystems.ca> (raw)
Modules which support 1000BaseT should also have 1000BaseX support. Set
this support flag to allow drivers supporting only 1000BaseX to work.
Signed-off-by: Robert Hancock <hancock@sedsystems.ca>
---
drivers/net/phy/sfp-bus.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/phy/sfp-bus.c b/drivers/net/phy/sfp-bus.c
index e9c1879..96cdf85 100644
--- a/drivers/net/phy/sfp-bus.c
+++ b/drivers/net/phy/sfp-bus.c
@@ -158,6 +158,7 @@ void sfp_parse_support(struct sfp_bus *bus, const struct sfp_eeprom_id *id,
if (id->base.e1000_base_t) {
phylink_set(modes, 1000baseT_Half);
phylink_set(modes, 1000baseT_Full);
+ phylink_set(modes, 1000baseX_Full);
}
/* 1000Base-PX or 1000Base-BX10 */
--
1.8.3.1
next reply other threads:[~2019-05-31 19:18 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-31 19:18 Robert Hancock [this message]
2019-05-31 19:18 ` [PATCH net-next] net: sfp: Stop SFP polling during shutdown Robert Hancock
2019-05-31 20:12 ` Russell King - ARM Linux admin
2019-05-31 22:40 ` Robert Hancock
2019-05-31 19:18 ` [PATCH net-next] net: sfp: Use smaller chunk size when reading I2C data Robert Hancock
2019-05-31 20:13 ` Russell King - ARM Linux admin
2019-05-31 19:18 ` [PATCH net-next] net: phy: phylink: add fallback from SGMII to 1000BaseX Robert Hancock
2019-05-31 20:18 ` Russell King - ARM Linux admin
2019-06-01 0:17 ` Robert Hancock
2019-06-02 15:15 ` Russell King - ARM Linux admin
2019-06-07 18:10 ` Robert Hancock
2019-06-07 18:34 ` Russell King - ARM Linux admin
2019-06-01 9:46 ` Sergei Shtylyov
2019-05-31 19:18 ` [PATCH net-next] net: phy: phylink: support using device PHY in fixed or 802.3z mode Robert Hancock
2019-05-31 19:29 ` David Miller
2019-05-31 19:41 ` Robert Hancock
2019-05-31 19:42 ` David Miller
2019-05-31 20:31 ` Russell King - ARM Linux admin
2019-06-01 0:33 ` Robert Hancock
2019-06-01 20:10 ` Russell King - ARM Linux admin
2019-06-07 18:15 ` Robert Hancock
2019-05-31 20:11 ` [PATCH net-next] net: sfp: Set 1000BaseX support flag for 1000BaseT modules Russell King - ARM Linux admin
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=1559330285-30246-1-git-send-email-hancock@sedsystems.ca \
--to=hancock@sedsystems.ca \
--cc=linux@armlinux.org.uk \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).