e1000e: Fix expand setting EEE link info to all affected parts
authorDavid Ertman <davidx.m.ertman@intel.com>
Tue, 13 May 2014 00:06:26 +0000 (00:06 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 27 May 2014 09:10:43 +0000 (02:10 -0700)
commit50844bb7f445165afda1af315bd16c93bf528185
tree720a4e95f38de846cae1c50dd1bdc6ab37577588
parent261a7d121e3059a00f75688f398b38c6c2c25c48
e1000e: Fix expand setting EEE link info to all affected parts

Previously, the update_phy_task was only calling e1000_set_eee_pchlan()
for phy.type 82579.  This patch is to cause this function to be called
for 82579 and newer phy.types.  This causes the dev_spec->eee_lp_ability
to have the correct value when going into SX states.

Signed-off-by: Dave Ertman <davidx.m.ertman@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