+ e1000-allow-nvm-to-setup-lplu-for-igp2-and-igp3.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     e1000: Allow NVM to setup LPLU for IGP2 and IGP3

has been added to the -mm tree.  Its filename is

     e1000-allow-nvm-to-setup-lplu-for-igp2-and-igp3.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: e1000: Allow NVM to setup LPLU for IGP2 and IGP3
From: "Kok, Auke" <auke-jan.h.kok@xxxxxxxxx>

Allow NVM to setup LPLU for IGP2 and IGP3.  Only IGP needs LPLU D3 disabled
during init here.

Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@xxxxxxxxx>
Signed-off-by: Auke Kok <auke-jan.h.kok@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/net/e1000/e1000_hw.c |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff -puN drivers/net/e1000/e1000_hw.c~e1000-allow-nvm-to-setup-lplu-for-igp2-and-igp3 drivers/net/e1000/e1000_hw.c
--- a/drivers/net/e1000/e1000_hw.c~e1000-allow-nvm-to-setup-lplu-for-igp2-and-igp3
+++ a/drivers/net/e1000/e1000_hw.c
@@ -1324,11 +1324,14 @@ e1000_copper_link_igp_setup(struct e1000
     E1000_WRITE_REG(hw, LEDCTL, led_ctrl);
     }
 
-    /* disable lplu d3 during driver init */
-    ret_val = e1000_set_d3_lplu_state(hw, FALSE);
-    if (ret_val) {
-        DEBUGOUT("Error Disabling LPLU D3\n");
-        return ret_val;
+    /* The NVM settings will configure LPLU in D3 for IGP2 and IGP3 PHYs */
+    if (hw->phy_type == e1000_phy_igp) {
+        /* disable lplu d3 during driver init */
+        ret_val = e1000_set_d3_lplu_state(hw, FALSE);
+        if (ret_val) {
+            DEBUGOUT("Error Disabling LPLU D3\n");
+            return ret_val;
+        }
     }
 
     /* disable lplu d0 during driver init */
_

Patches currently in -mm which might be from auke-jan.h.kok@xxxxxxxxx are

e100-fix-mdio-mdio-x.patch
e100-increment-version-to-3510-k4.patch
e1000-same-cosmetic-fix-as-earlier-sent-out-for-ipv4.patch
e1000-remove-0x1000-as-supported-device.patch
e1000-explicitly-power-up-the-phy-during-loopback-testing.patch
e1000-explicit-locking-for-two-ethtool-path-functions.patch
e1000-allow-nvm-to-setup-lplu-for-igp2-and-igp3.patch
e1000-force-full-dma-clocking-for-10-100-speed.patch
e1000-disable-aggressive-clocking-on-esb2-with-serdes-port.patch
e1000-increment-driver-version-to-719-k6.patch
ixgb-add-cx4-phy-type-detection-and-subdevice-id.patch
ixgb-fix-cache-miss-due-to-miscalculation.patch
ixgb-increment-version-to-10109-k4.patch
ixgb-add-pci-error-recovery-callbacks.patch
e100-disable-device-on-pci-error.patch
e1000-disable-device-on-pci-error.patch
e1000_7033_dump_ring.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux