e1000e: Fix EEE in Sx implementation
authorRaanan Avargil <raanan.avargil@intel.com>
Mon, 6 Jul 2015 13:48:00 +0000 (16:48 +0300)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 5 Aug 2015 23:53:47 +0000 (16:53 -0700)
commitf5ac7445ebdbfa8cd2d90ef2a58b8f4455bcb664
tree2519b8e4000107633177efbca4e756836db00b7e
parent7073f46e443ecb5a48221160aa39773ccb520b0f
e1000e: Fix EEE in Sx implementation

This patch implements the EEE in Sx code so that it only applies to parts
that support EEE in Sx (as opposed to all parts that support EEE).
It also uses the existing eee_advert and eee_lp_abiliity to set just the
bits (100/1000) that should be set.

Signed-off-by: Raanan Avargil <raanan.avargil@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/netdev.c