ixgbe: convert to ethtool set_phys_id
authorEmil Tantilov <emil.s.tantilov@intel.com>
Sat, 16 Apr 2011 06:12:51 +0000 (06:12 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 27 Apr 2011 09:22:11 +0000 (02:22 -0700)
commit66e6961c8e53c0c0079d5b67faf9b7fe33525892
treee8e9fd6beaa4b065aad096a49ccd9c7aecb402c4
parente7fd9253d83703838953160ebb2899c5f6e2eee1
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>
drivers/net/ixgbe/ixgbe.h
drivers/net/ixgbe/ixgbe_ethtool.c