diff options
author | 2011-05-02 18:16:58 +0000 | |
---|---|---|
committer | 2011-05-02 18:16:58 +0000 | |
commit | ae01c475e18489b829b39fd090c7e7f496a3fb0f (patch) | |
tree | 26fa76f871fccfefcb404491412d19e9f7da4538 | |
parent | Some extra paranoia for if we fail to attach. (diff) | |
download | wireguard-openbsd-ae01c475e18489b829b39fd090c7e7f496a3fb0f.tar.xz wireguard-openbsd-ae01c475e18489b829b39fd090c7e7f496a3fb0f.zip |
remove workaround found in FreeBSD driver but not in Intel's official
driver.
Fixes 82578DC from only being able to negotiate at 10baseT.
ok jsg@
please commit mikeb@
-rw-r--r-- | sys/dev/pci/if_em_hw.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/sys/dev/pci/if_em_hw.c b/sys/dev/pci/if_em_hw.c index 45fc26899cc..7ec5f953dda 100644 --- a/sys/dev/pci/if_em_hw.c +++ b/sys/dev/pci/if_em_hw.c @@ -31,7 +31,7 @@ *******************************************************************************/ -/* $OpenBSD: if_em_hw.c,v 1.64 2011/05/02 12:25:42 jsg Exp $ */ +/* $OpenBSD: if_em_hw.c,v 1.65 2011/05/02 18:16:58 dhill Exp $ */ /* * if_em_hw.c Shared functions for accessing and configuring the MAC */ @@ -9863,20 +9863,6 @@ em_hv_phy_workarounds_ich8lan(struct em_hw *hw) } if (hw->phy_type == em_phy_82578) { - if (hw->revision_id < 3) { - /* PHY config */ - ret_val = em_write_phy_reg(hw, (1 << 6) | 0x29, - 0x66C0); - if (ret_val) - goto out; - - /* PHY config */ - ret_val = em_write_phy_reg(hw, (1 << 6) | 0x1E, - 0xFFFF); - if (ret_val) - goto out; - } - /* * Return registers to default by doing a soft reset then * writing 0x3140 to the control register. |