diff options
author | Emil Tantilov <emil.s.tantilov@intel.com> | 2011-03-31 05:36:12 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-04-13 22:25:36 -0400 |
commit | a59e8a1a72806057084adc2d321fc2a7cbce9579 (patch) | |
tree | 35f2c3f4a8822d4100e9cc086915a17e3b590285 /drivers/net/ixgbe | |
parent | 4c40ef0291acebf32435e5a4921178ee53bd8933 (diff) |
ixgbe: explicitly disable 100H for x540
100H is not supported on this HW, but the bit is set on the PHY.
This can result in link at 100F when advertising only 1000F.
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Evan Swanson <evan.swanson@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ixgbe')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_phy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe_phy.c b/drivers/net/ixgbe/ixgbe_phy.c index 31cc29ed137c..fd381ea17e99 100644 --- a/drivers/net/ixgbe/ixgbe_phy.c +++ b/drivers/net/ixgbe/ixgbe_phy.c | |||
@@ -449,7 +449,8 @@ s32 ixgbe_setup_phy_link_generic(struct ixgbe_hw *hw) | |||
449 | MDIO_MMD_AN, | 449 | MDIO_MMD_AN, |
450 | &autoneg_reg); | 450 | &autoneg_reg); |
451 | 451 | ||
452 | autoneg_reg &= ~ADVERTISE_100FULL; | 452 | autoneg_reg &= ~(ADVERTISE_100FULL | |
453 | ADVERTISE_100HALF); | ||
453 | if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_100_FULL) | 454 | if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_100_FULL) |
454 | autoneg_reg |= ADVERTISE_100FULL; | 455 | autoneg_reg |= ADVERTISE_100FULL; |
455 | 456 | ||