summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMalli Chilakala <mallikarjuna.chilakala@intel.com>2005-04-29 02:39:53 (GMT)
committerJeff Garzik <jgarzik@pobox.com>2005-05-13 00:48:53 (GMT)
commit4e48a2b91d408357cb0747151d8db5368ac8f1d0 (patch)
tree600d1e3fdec1ef85d08eb7bf286a015ac308f09b
parent5de556249fde97493a4c79dbf8979ace0f76789f (diff)
downloadlinux-fsl-qoriq-4e48a2b91d408357cb0747151d8db5368ac8f1d0.tar.xz
[PATCH] e1000: Fix kernel panic with 82541 LOM
Fix kernel panic with 82541 LOM when using a 100M cable Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com> Signed-off-by: Ganesh Venkatesan <ganesh.venkatesan@intel.com> Signed-off-by: John Ronciak <john.ronciak@intel.com> diff -up net-drivers-2.6/drivers/net/e1000/e1000_main.c net-drivers-2.6/drivers/net/e1000.new/e1000_main.c
-rw-r--r--drivers/net/e1000/e1000_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c
index 9927106..9c6c1fb 100644
--- a/drivers/net/e1000/e1000_main.c
+++ b/drivers/net/e1000/e1000_main.c
@@ -372,6 +372,7 @@ e1000_down(struct e1000_adapter *adapter)
e1000_read_phy_reg(&adapter->hw, PHY_CTRL, &mii_reg);
mii_reg |= MII_CR_POWER_DOWN;
e1000_write_phy_reg(&adapter->hw, PHY_CTRL, mii_reg);
+ mdelay(1);
}
}