diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2009-02-27 13:08:03 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-02 11:15:05 (GMT) |
commit | 8129d2173ea7a5b030b4cba044d1f92689895083 (patch) | |
tree | 0ae9108fa888fbed0f4b846e17c27f6b44cd3c6e /drivers/net/sfc/efx.c | |
parent | b4a44a69877960e620461c663805f7cc52e2a798 (diff) | |
download | linux-fsl-qoriq-8129d2173ea7a5b030b4cba044d1f92689895083.tar.xz |
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 7583659..45df110 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, |