All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next] net: sfp: Set 1000BaseX support flag for 1000BaseT modules
@ 2019-05-31 19:18 Robert Hancock
  2019-05-31 19:18 ` [PATCH net-next] net: sfp: Stop SFP polling during shutdown Robert Hancock
                   ` (4 more replies)
  0 siblings, 5 replies; 22+ messages in thread
From: Robert Hancock @ 2019-05-31 19:18 UTC (permalink / raw)
  To: netdev; +Cc: linux, Robert Hancock

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


^ permalink raw reply related	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2019-06-07 18:34 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-31 19:18 [PATCH net-next] net: sfp: Set 1000BaseX support flag for 1000BaseT modules Robert Hancock
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

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.