Skip to content

Commit

Permalink
ixgb: Set a constant blink rate for ixgb adapter identify (1sec on, 1…
Browse files Browse the repository at this point in the history
…sec off)

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
  • Loading branch information
Jesse Brandeburg authored and Auke Kok committed Aug 31, 2006
1 parent f990b42 commit a91bb6a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions drivers/net/ixgb/ixgb_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a91bb6a

Please sign in to comment.