e1000/base: fix redundant PHY power down for i210
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Fri, 16 Oct 2015 02:50:51 +0000 (10:50 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 27 Oct 2015 13:20:24 +0000 (14:20 +0100)
commit9896a25392ed9c9b8e1154ba66c8965195cf6422
tree813ed832e28587f4c2ebffde611cbc1698825dc4
parentf26b9791667a7cce9cddf8a0bb26d5788d7c5f0a
e1000/base: fix redundant PHY power down for i210

The wrong bit is being used in PHYREG16 for PHY power down. In addition,
the use of PHYREG 16 is unnecessary if bit 11 of PHYREG 0 is used.

Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/e1000/base/e1000_phy.c
drivers/net/e1000/base/e1000_phy.h