[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1559330285-30246-1-git-send-email-hancock@sedsystems.ca>
Date: Fri, 31 May 2019 13:18:01 -0600
From: Robert Hancock <hancock@...systems.ca>
To: netdev@...r.kernel.org
Cc: linux@...linux.org.uk, Robert Hancock <hancock@...systems.ca>
Subject: [PATCH net-next] net: sfp: Set 1000BaseX support flag for 1000BaseT modules
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@...systems.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
Powered by blists - more mailing lists