diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2006-08-31 14:27:50 -0700 |
---|---|---|
committer | Auke Kok <juke-jan.h.kok@intel.com> | 2006-08-31 14:27:50 -0700 |
commit | a91bb6a8b411bdd8053601d7c2254d54670a4df6 (patch) | |
tree | f0b95643b3954a1afb1df335c3bb86a8f6dc21d9 /drivers/net/ixgb | |
parent | f990b426afb2f6ed77ba9ec272bdfe3d5d3a3d39 (diff) | |
download | linux-a91bb6a8b411bdd8053601d7c2254d54670a4df6.tar.gz linux-a91bb6a8b411bdd8053601d7c2254d54670a4df6.tar.bz2 linux-a91bb6a8b411bdd8053601d7c2254d54670a4df6.zip |
ixgb: Set a constant blink rate for ixgb adapter identify (1sec on, 1sec off)
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Diffstat (limited to 'drivers/net/ixgb')
-rw-r--r-- | drivers/net/ixgb/ixgb_ethtool.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/ixgb/ixgb_ethtool.c b/drivers/net/ixgb/ixgb_ethtool.c index cf19b898ba9b..ba621083830a 100644 --- a/drivers/net/ixgb/ixgb_ethtool.c +++ b/drivers/net/ixgb/ixgb_ethtool.c @@ -654,11 +654,7 @@ ixgb_phys_id(struct net_device *netdev, uint32_t data) mod_timer(&adapter->blink_timer, jiffies); - if (data) - schedule_timeout_interruptible(data * HZ); - else - schedule_timeout_interruptible(MAX_SCHEDULE_TIMEOUT); - + msleep_interruptible(data * 1000); del_timer_sync(&adapter->blink_timer); ixgb_led_off(&adapter->hw); clear_bit(IXGB_LED_ON, &adapter->led_status); |