[PATCH net 0/3] net: stmmac: socfpga: 1000BaseX support and cleanups

Maxime Chevallier posted 3 patches 9 months, 3 weeks ago
There is a newer version of this series
drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
[PATCH net 0/3] net: stmmac: socfpga: 1000BaseX support and cleanups
Posted by Maxime Chevallier 9 months, 3 weeks ago
Hello everyone,

This small series sorts-out 1000BaseX support and does a bit of cleanup
for the Lynx conversion.

Patch 1 makes sure that we set the right phy_mode when working in
1000BaseX mode, so that the internal GMII is configured correctly.

Patch 2 removes a check for phy_device upon calling fix_mac_speed(). As
the SGMII adapter may be chained to a Lynx PCS, checking for a
phy_device to be attached to the netdev before enabling the SGMII
adapter doesn't make sense, as we won't have a downstream PHY when using
1000BaseX.

Patch 3 cleans an unused field from the PCS conversion.

Maxime Chevallier (3):
  net: stmmac: socfpga: Enable internal GMII when using 1000BaseX
  net: stmmac: socfpga: Don't check for phy to enable the SGMII adapter
  net: stmmac: socfpga: Remove unused pcs-mdiodev field

 drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

-- 
2.49.0