e1000e: do not toggle LANPHYPC value bit when PHY reset is blocked
authorBruce Allan <bruce.w.allan@intel.com>
Fri, 25 Feb 2011 06:25:18 +0000 (06:25 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 11 Mar 2011 10:14:56 +0000 (02:14 -0800)
commit6cc7aaed70c96c3933fbacbad582fc79b7d6e335
treeb01610d2eb974637e20d96364bb6bc513f0a3da4
parent1effb45cca29e22e4b2209bb567770b7e20a3a2b
e1000e: do not toggle LANPHYPC value bit when PHY reset is blocked

When PHY reset is intentionally blocked on 82577/8/9, do not toggle the
LANPHYPC value bit (essentially performing a hard power reset of the
device) otherwise the PHY can be put into an unknown state.

Cleanup whitespace in the same function.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/e1000e/ich8lan.c