Commit 90d1a3de authored by taowenhwa@intel.com's avatar taowenhwa@intel.com Committed by Stephen Hemminger

[e100] cu_start: timeout waiting for cu

* Bug fix: 82557 (with National PHY) timeout during init
  [Adam Kropelin] akropel1@rochester.rr.com
parent 41cc1c1a
...@@ -919,6 +919,7 @@ e100_phy_reset(struct e100_private *bdp) ...@@ -919,6 +919,7 @@ e100_phy_reset(struct e100_private *bdp)
unsigned char __devinit unsigned char __devinit
e100_phy_init(struct e100_private *bdp) e100_phy_init(struct e100_private *bdp)
{ {
e100_phy_reset(bdp);
e100_phy_address_detect(bdp); e100_phy_address_detect(bdp);
e100_phy_isolate(bdp); e100_phy_isolate(bdp);
e100_phy_id_detect(bdp); e100_phy_id_detect(bdp);
...@@ -930,7 +931,6 @@ e100_phy_init(struct e100_private *bdp) ...@@ -930,7 +931,6 @@ e100_phy_init(struct e100_private *bdp)
bdp->PhyDelay = 0; bdp->PhyDelay = 0;
bdp->zlock_state = ZLOCK_INITIAL; bdp->zlock_state = ZLOCK_INITIAL;
e100_phy_reset(bdp);
e100_phy_set_speed_duplex(bdp, false); e100_phy_set_speed_duplex(bdp, false);
e100_fix_polarity(bdp); e100_fix_polarity(bdp);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment