diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2009-11-29 03:43:43 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-29 16:46:31 -0800 |
commit | 06629f07248b259e08a6e4089fbe6aa3f98dfbe6 (patch) | |
tree | dfe3531f34ab8496e03dba8586bd676fed0c622b /drivers/net/sfc/ethtool.c | |
parent | 0aa3fbaa3f2d29a14231ebb0c8e521c23701d41f (diff) | |
download | kernel_samsung_aries-06629f07248b259e08a6e4089fbe6aa3f98dfbe6.zip kernel_samsung_aries-06629f07248b259e08a6e4089fbe6aa3f98dfbe6.tar.gz kernel_samsung_aries-06629f07248b259e08a6e4089fbe6aa3f98dfbe6.tar.bz2 |
sfc: Add efx_nic_type operation for identity LED control
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/ethtool.c')
-rw-r--r-- | drivers/net/sfc/ethtool.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/sfc/ethtool.c b/drivers/net/sfc/ethtool.c index 29aa83c..5063975 100644 --- a/drivers/net/sfc/ethtool.c +++ b/drivers/net/sfc/ethtool.c @@ -174,14 +174,14 @@ static int efx_ethtool_phys_id(struct net_device *net_dev, u32 count) struct efx_nic *efx = netdev_priv(net_dev); do { - falcon_board(efx)->type->set_id_led(efx, EFX_LED_ON); + efx->type->set_id_led(efx, EFX_LED_ON); schedule_timeout_interruptible(HZ / 2); - falcon_board(efx)->type->set_id_led(efx, EFX_LED_OFF); + efx->type->set_id_led(efx, EFX_LED_OFF); schedule_timeout_interruptible(HZ / 2); } while (!signal_pending(current) && --count != 0); - falcon_board(efx)->type->set_id_led(efx, EFX_LED_DEFAULT); + efx->type->set_id_led(efx, EFX_LED_DEFAULT); return 0; } |