]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/e1000/e1000_hw.c
[PATCH] e1000: Fix PHY config for 82573 controller
[linux-2.6-omap-h63xx.git] / drivers / net / e1000 / e1000_hw.c
index f853e1064ac041a6d2a9f64ba942e5eb12980e72..45fa386d212e4c949d0d9152d405f6121607035e 100644 (file)
@@ -6722,6 +6722,12 @@ e1000_get_phy_cfg_done(struct e1000_hw *hw)
         break;
     }
 
+    /* PHY configuration from NVM just starts after EECD_AUTO_RD sets to high.
+     * Need to wait for PHY configuration completion before accessing NVM
+     * and PHY. */
+    if (hw->mac_type == e1000_82573)
+        msec_delay(25);
+
     return E1000_SUCCESS;
 }