intel-wired-lan: igc: intel-wired-lan: igc: set TP bit in ethtool_link_ksettings.supported field
Subsystems (2)
PATCH 1/1 intel-wired-lan: igc: intel-wired-lan: igc: set TP bit in ethtool_link_ksettings.supported field
From: Prasad Koya <[email protected]>
if the physical media is twisted pair copper, set the TP bit in the 'supported' field
Signed-off-by Prasad Koya <[email protected]>
--- drivers/net/ethernet/intel/igc/igc_ethtool.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/ethernet/intel/igc/igc_ethtool.c +1 -0
@@ -1707,6 +1707,7 @@ static int igc_ethtool_get_link_ksettings(struct net_device *netdev,/* twisted pair */ cmd->base.port =PORT_TP ; cmd->base.phy_address = hw->phy.addr; +ethtool_link_ksettings_add_link_mode (cmd, supported,TP );/* advertising link modes */ if (hw->phy.autoneg_advertised &ADVERTISE_10_HALF )
Signature · 6 lines
2.25.1 _______________________________________________ Intel-wired-lan mailing list [email protected] https://lists.osuosl.org/mailman/listinfo/intel-wired-lan