diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2009-02-27 14:08:03 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-02 12:15:05 +0100 |
commit | 8129d2173ea7a5b030b4cba044d1f92689895083 (patch) | |
tree | 0ae9108fa888fbed0f4b846e17c27f6b44cd3c6e /drivers/net/sfc/efx.c | |
parent | sfc: Delete unused efx_blinker::led_num field (diff) | |
download | linux-8129d2173ea7a5b030b4cba044d1f92689895083.tar.xz linux-8129d2173ea7a5b030b4cba044d1f92689895083.zip |
sfc: Clean up LED control
Reinitialise LEDs after overriding them for identification.
Rename set_fault_led method to set_id_led since we always use it for
NIC identification and not faults.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/efx.c')
-rw-r--r-- | drivers/net/sfc/efx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/sfc/efx.c b/drivers/net/sfc/efx.c index 75836599e43d..45df110f8331 100644 --- a/drivers/net/sfc/efx.c +++ b/drivers/net/sfc/efx.c @@ -1848,8 +1848,8 @@ static struct efx_phy_operations efx_dummy_phy_operations = { static struct efx_board efx_dummy_board_info = { .init = efx_port_dummy_op_int, - .init_leds = efx_port_dummy_op_int, - .set_fault_led = efx_port_dummy_op_blink, + .init_leds = efx_port_dummy_op_void, + .set_id_led = efx_port_dummy_op_blink, .monitor = efx_port_dummy_op_int, .blink = efx_port_dummy_op_blink, .fini = efx_port_dummy_op_void, |