e1000e: disable EEE support by default
authorBruce Allan <[email protected]>
Tue, 29 Jun 2010 18:13:13 +0000 (18:13 +0000)
committerDavid S. Miller <[email protected]>
Wed, 30 Jun 2010 06:09:19 +0000 (23:09 -0700)
Based on community feedback, EEE should be disabled by default until the
IEEE802.3az specification has been finalized.

Cc: [email protected]
Signed-off-by: Bruce Allan <[email protected]>
Tested-by: Emil Tantilov <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/e1000e/ich8lan.c

index 6b5e108bb51ffd64e733c5509ba7fb64ad14ca6e..63930d12711cf44ceb3334e5334fef5089ecb2e2 100644 (file)
@@ -731,6 +731,10 @@ static s32 e1000_get_variants_ich8lan(struct e1000_adapter *adapter)
            (adapter->hw.phy.type == e1000_phy_igp_3))
                adapter->flags |= FLAG_LSC_GIG_SPEED_DROP;
 
+       /* Disable EEE by default until IEEE802.3az spec is finalized */
+       if (adapter->flags2 & FLAG2_HAS_EEE)
+               adapter->hw.dev_spec.ich8lan.eee_disable = true;
+
        return 0;
 }