e1000e: 82577/8/9 mis-configured OEM bits during S0->Sx
authorBruce Allan <[email protected]>
Wed, 24 Nov 2010 06:01:41 +0000 (06:01 +0000)
committerJeff Kirsher <[email protected]>
Sat, 11 Dec 2010 06:13:27 +0000 (22:13 -0800)
The LPLU (Low Power Link Up) and Gigabit Disable bits (a.k.a. OEM bits)
were being configured incorrectly when device goes to D3 state.

Signed-off-by: Bruce Allan <[email protected]>
Tested-by: Jeff Pieper <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
drivers/net/e1000e/ich8lan.c

index e3374d9a2472a2af316ca137305a53162f62e882..d7fc930d1aa59d76385d201813e1412def31fd61 100644 (file)
@@ -3591,7 +3591,7 @@ void e1000e_disable_gig_wol_ich8lan(struct e1000_hw *hw)
        ew32(PHY_CTRL, phy_ctrl);
 
        if (hw->mac.type >= e1000_pchlan) {
-               e1000_oem_bits_config_ich8lan(hw, true);
+               e1000_oem_bits_config_ich8lan(hw, false);
                ret_val = hw->phy.ops.acquire(hw);
                if (ret_val)
                        return;