summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/e1000e/e1000.h
diff options
context:
space:
mode:
authorBruce Allan <bruce.w.allan@intel.com>2012-12-05 06:26:08 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2013-01-15 22:46:58 -0800
commit3d4d5755f1f1ff27f7f050f07758ae2e7a1256da (patch)
tree6866ef7f9630ef6230a047ed1ae3f0c1598f2d28 /drivers/net/ethernet/intel/e1000e/e1000.h
parent651fb1026d9c41d6073cffddfaef1aa224d4ea85 (diff)
downloadop-kernel-dev-3d4d5755f1f1ff27f7f050f07758ae2e7a1256da.zip
op-kernel-dev-3d4d5755f1f1ff27f7f050f07758ae2e7a1256da.tar.gz
e1000e: fix enabling of EEE on 82579 and I217
Energy Efficient Ethernet on 82579 and I217 should only be enabled if not disabled by the user, if the link is full duplex and the link partner has similar EEE capabilities (stored in different EMI registers on the two different parts). After enabling EEE, read the IEEE MMD register 3.1 (which is also stored in different EMI registers on the two different parts) to clear the count of received Tx/Rx LPI indications. Also, rename I217_EEE_100_SUPPORTED to I82579_EEE_100_SUPPORTED to indicate the bit is valid starting with I82579 (released before I217). 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>
Diffstat (limited to 'drivers/net/ethernet/intel/e1000e/e1000.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud