diff options
author | Emil Tantilov <emil.s.tantilov@intel.com> | 2011-04-16 08:12:51 +0200 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-04-27 11:22:11 +0200 |
commit | 66e6961c8e53c0c0079d5b67faf9b7fe33525892 (patch) | |
tree | e8e9fd6beaa4b065aad096a49ccd9c7aecb402c4 /drivers/net/ixgbe/ixgbe.h | |
parent | ixgbe: fix X540 ethtool loopback test. (diff) | |
download | linux-66e6961c8e53c0c0079d5b67faf9b7fe33525892.tar.xz linux-66e6961c8e53c0c0079d5b67faf9b7fe33525892.zip |
ixgbe: convert to ethtool set_phys_id
Based on the original patch submitted by Stephen Hemminger.
This patch makes the following changes:
- Change ETHTOOL_ID_INACTIVE return value to 2 (blinks/sec)
- Fix restoring of IXGBE_LEDCTL
CC: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Evan Swanson <evan.swanson@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe.h')
-rw-r--r-- | drivers/net/ixgbe/ixgbe.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe.h b/drivers/net/ixgbe/ixgbe.h index 8d468028bb55..37ff531d59c0 100644 --- a/drivers/net/ixgbe/ixgbe.h +++ b/drivers/net/ixgbe/ixgbe.h @@ -461,6 +461,7 @@ struct ixgbe_adapter { u16 eeprom_version; int node; + u32 led_reg; struct work_struct check_overtemp_task; u32 interrupt_event; char lsc_int_name[IFNAMSIZ + 9]; |