The patch titled e1000: Explicitly power up the PHY during loopback testing. has been added to the -mm tree. Its filename is e1000-explicitly-power-up-the-phy-during-loopback-testing.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: Explicitly power up the PHY during loopback testing. From: "Kok, Auke" <auke-jan.h.kok@xxxxxxxxx> Signed-off-by: Jesse Brandeburg <jesse.brandeburg@xxxxxxxxx Signed-off-by: Auke Kok <auke-jan.h.kok@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/net/e1000/e1000_ethtool.c | 7 +++++++ drivers/net/e1000/e1000_main.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff -puN drivers/net/e1000/e1000_ethtool.c~e1000-explicitly-power-up-the-phy-during-loopback-testing drivers/net/e1000/e1000_ethtool.c --- a/drivers/net/e1000/e1000_ethtool.c~e1000-explicitly-power-up-the-phy-during-loopback-testing +++ a/drivers/net/e1000/e1000_ethtool.c @@ -1590,6 +1590,8 @@ e1000_diag_test_count(struct net_device return E1000_TEST_LEN; } +extern void e1000_power_up_phy(struct e1000_adapter *); + static void e1000_diag_test(struct net_device *netdev, struct ethtool_test *eth_test, uint64_t *data) @@ -1606,6 +1608,8 @@ e1000_diag_test(struct net_device *netde uint8_t forced_speed_duplex = adapter->hw.forced_speed_duplex; uint8_t autoneg = adapter->hw.autoneg; + DPRINTK(HW, INFO, "offline testing starting\n"); + /* Link test performed before hardware reset so autoneg doesn't * interfere with test result */ if (e1000_link_test(adapter, &data[4])) @@ -1629,6 +1633,8 @@ e1000_diag_test(struct net_device *netde eth_test->flags |= ETH_TEST_FL_FAILED; e1000_reset(adapter); + /* make sure the phy is powered up */ + e1000_power_up_phy(adapter); if (e1000_loopback_test(adapter, &data[3])) eth_test->flags |= ETH_TEST_FL_FAILED; @@ -1642,6 +1648,7 @@ e1000_diag_test(struct net_device *netde if (if_running) dev_open(netdev); } else { + DPRINTK(HW, INFO, "online testing starting\n"); /* Online tests */ if (e1000_link_test(adapter, &data[4])) eth_test->flags |= ETH_TEST_FL_FAILED; diff -puN drivers/net/e1000/e1000_main.c~e1000-explicitly-power-up-the-phy-during-loopback-testing drivers/net/e1000/e1000_main.c --- a/drivers/net/e1000/e1000_main.c~e1000-explicitly-power-up-the-phy-during-loopback-testing +++ a/drivers/net/e1000/e1000_main.c @@ -484,7 +484,7 @@ e1000_up(struct e1000_adapter *adapter) * **/ -static void e1000_power_up_phy(struct e1000_adapter *adapter) +void e1000_power_up_phy(struct e1000_adapter *adapter) { uint16_t mii_reg = 0; _ 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