e1000e: Reset 82577/82578 PHY before first PHY register read
authorBruce Allan <bruce.w.allan@intel.com>
Wed, 5 May 2010 22:00:27 +0000 (22:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 May 2010 08:31:28 +0000 (01:31 -0700)
commit627c8a041f7aaaea93c766f69bd61d952a277586
tree4c8ae71ff723654c72bfd1617891b5d2493dc200
parent6dfaa76994e5d49a82afb415bbe1362e901b2b95
e1000e: Reset 82577/82578 PHY before first PHY register read

Reset the PHY before first accessing it.  Doing so, ensure that the PHY is
in a known good state before we read/write PHY registers. This fixes a
driver probe failure.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/ich8lan.c