diff options
author | Auke Kok <auke-jan.h.kok@intel.com> | 2006-06-27 12:06:24 -0400 |
---|---|---|
committer | Auke Kok <juke-jan.h.kok@intel.com> | 2006-06-27 12:06:24 -0400 |
commit | acfbc9fde2ec7f304398f6ad7644002e07bf84bc (patch) | |
tree | 346a872fc0624dc2bdbef913cb882a8337c61abf /drivers/net/e1000/e1000_ethtool.c | |
parent | 0d204094d15dac2e8a439b993f71eda385b4dccd (diff) |
e1000: fix loopback ethtool test
Ethtool was reporting that loopback failed randomly on esb2
systems. Upon study it was found that the phy manual was changed
with respect to the loopback mode bits. The new value fixes it.
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Diffstat (limited to 'drivers/net/e1000/e1000_ethtool.c')
-rw-r--r-- | drivers/net/e1000/e1000_ethtool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/e1000/e1000_ethtool.c b/drivers/net/e1000/e1000_ethtool.c index 6ed7f599eba3..845d293b2f6a 100644 --- a/drivers/net/e1000/e1000_ethtool.c +++ b/drivers/net/e1000/e1000_ethtool.c | |||
@@ -1246,7 +1246,7 @@ e1000_integrated_phy_loopback(struct e1000_adapter *adapter) | |||
1246 | } else if (adapter->hw.phy_type == e1000_phy_gg82563) { | 1246 | } else if (adapter->hw.phy_type == e1000_phy_gg82563) { |
1247 | e1000_write_phy_reg(&adapter->hw, | 1247 | e1000_write_phy_reg(&adapter->hw, |
1248 | GG82563_PHY_KMRN_MODE_CTRL, | 1248 | GG82563_PHY_KMRN_MODE_CTRL, |
1249 | 0x1CE); | 1249 | 0x1CC); |
1250 | } | 1250 | } |
1251 | /* force 1000, set loopback */ | 1251 | /* force 1000, set loopback */ |
1252 | e1000_write_phy_reg(&adapter->hw, PHY_CTRL, 0x4140); | 1252 | e1000_write_phy_reg(&adapter->hw, PHY_CTRL, 0x4140); |