]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit81dca8390eb521cd43f6092e44c68663b944705e
treeb01610d2eb974637e20d96364bb6bc513f0a3da4
parent83a980331e575b49ee5f7f699a63b8e63202edcc
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