igb: Fix for devices using ethtool for EEE settings
authorCarolyn Wyborny <carolyn.wyborny@intel.com>
Wed, 12 Mar 2014 03:58:22 +0000 (03:58 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 13 Mar 2014 01:58:39 +0000 (18:58 -0700)
commitf4c01e965fd0c623afa9fc8d9276d5ccdf297209
treece99cfd561ef4f2e45afeca071e87d038e4c5c25
parent42bdf083fe7017ff0233803175117a54d88eb540
igb: Fix for devices using ethtool for EEE settings

This patch fixes a problem where using ethtool for EEE setting was not
working correctly.  This patch also fixes a problem where
the function that checks for EEE status on i354 devices was not being
called and was causing warnings with static analysis tools.

Reported-by: Rashika Kheria <rashika.kheria@gmail.com>
Reported-by: Josh Triplett <josh@joshtriplett.org>
Reported-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/e1000_82575.h
drivers/net/ethernet/intel/igb/igb.h
drivers/net/ethernet/intel/igb/igb_ethtool.c
drivers/net/ethernet/intel/igb/igb_main.c