igb: add flags to set eee advertisement mode
authorTodd Fujinaka <todd.fujinaka@intel.com>
Fri, 29 Aug 2014 06:43:13 +0000 (06:43 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 6 Sep 2014 12:00:39 +0000 (05:00 -0700)
commitc4c112f1585fde3926976da8962ba84d342d8869
tree894675f29f44c2d41eea56dd0555caf59c3a071e
parent887a79f4a8cce981bb74bf56e1ee25786f235e66
igb: add flags to set eee advertisement mode

Change e1000_set_eee and e1000_set_eee_i35(0|4) to allow
changes in the advertised EEE speeds from ethtool. Adds two boolean
flags to e1000_set_eee_i35(0|4) to pass in advertised speed data.

Signed-off-by: Todd Fujinaka <todd.fujinaka@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/igb/e1000_82575.c
drivers/net/ethernet/intel/igb/e1000_82575.h
drivers/net/ethernet/intel/igb/igb_ethtool.c
drivers/net/ethernet/intel/igb/igb_main.c