Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 122605
b: refs/heads/master
c: 65f667f
h: refs/heads/master
i:
  122603: fd03bbd
v: v3
  • Loading branch information
Ben Hutchings authored and David S. Miller committed Dec 13, 2008
1 parent b2baf66 commit b9e4f15
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2b2734dcbfd2dc6b6e4b00bc6971504d7657a4eb
refs/heads/master: 65f667fb472d28c1594d862b213a564e292a466c
8 changes: 6 additions & 2 deletions trunk/drivers/net/sfc/ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,12 +182,16 @@ static struct efx_ethtool_stat efx_ethtool_stats[] = {
*/

/* Identify device by flashing LEDs */
static int efx_ethtool_phys_id(struct net_device *net_dev, u32 seconds)
static int efx_ethtool_phys_id(struct net_device *net_dev, u32 count)
{
struct efx_nic *efx = netdev_priv(net_dev);

efx->board_info.blink(efx, 1);
schedule_timeout_interruptible(seconds * HZ);
set_current_state(TASK_INTERRUPTIBLE);
if (count)
schedule_timeout(count * HZ);
else
schedule();
efx->board_info.blink(efx, 0);
return 0;
}
Expand Down

0 comments on commit b9e4f15

Please sign in to comment.