Commit a91bb6a8 authored by Jesse Brandeburg's avatar Jesse Brandeburg Committed by Auke Kok

ixgb: Set a constant blink rate for ixgb adapter identify (1sec on, 1sec off)

Signed-off-by: default avatarJesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: default avatarAuke Kok <auke-jan.h.kok@intel.com>
parent f990b426
...@@ -654,11 +654,7 @@ ixgb_phys_id(struct net_device *netdev, uint32_t data) ...@@ -654,11 +654,7 @@ ixgb_phys_id(struct net_device *netdev, uint32_t data)
mod_timer(&adapter->blink_timer, jiffies); mod_timer(&adapter->blink_timer, jiffies);
if (data) msleep_interruptible(data * 1000);
schedule_timeout_interruptible(data * HZ);
else
schedule_timeout_interruptible(MAX_SCHEDULE_TIMEOUT);
del_timer_sync(&adapter->blink_timer); del_timer_sync(&adapter->blink_timer);
ixgb_led_off(&adapter->hw); ixgb_led_off(&adapter->hw);
clear_bit(IXGB_LED_ON, &adapter->led_status); clear_bit(IXGB_LED_ON, &adapter->led_status);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment