mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
i40e: Removing unnecessary code which caused supported link mode bug
Removing this code which wasn't allowing 100BaseT to show up in the supported link modes for 10GBaseT PHYs. Change-ID: Iada2eafa7ef6b4bac9a2a1380ff533ae5de51e1d Signed-off-by: Avinash Dayanand <avinash.dayanand@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
6536227d1d
commit
01a7a9fef4
1 changed files with 1 additions and 2 deletions
|
@ -313,8 +313,7 @@ static void i40e_phy_type_to_ethtool(struct i40e_pf *pf, u32 *supported,
|
||||||
*advertising |= ADVERTISED_Autoneg |
|
*advertising |= ADVERTISED_Autoneg |
|
||||||
ADVERTISED_40000baseCR4_Full;
|
ADVERTISED_40000baseCR4_Full;
|
||||||
}
|
}
|
||||||
if ((phy_types & I40E_CAP_PHY_TYPE_100BASE_TX) &&
|
if (phy_types & I40E_CAP_PHY_TYPE_100BASE_TX) {
|
||||||
!(phy_types & I40E_CAP_PHY_TYPE_1000BASE_T)) {
|
|
||||||
*supported |= SUPPORTED_Autoneg |
|
*supported |= SUPPORTED_Autoneg |
|
||||||
SUPPORTED_100baseT_Full;
|
SUPPORTED_100baseT_Full;
|
||||||
*advertising |= ADVERTISED_Autoneg |
|
*advertising |= ADVERTISED_Autoneg |
|
||||||
|
|
Loading…
Add table
Reference in a new issue