aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/efx.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2009-02-27 08:08:03 -0500
committerDavid S. Miller <davem@davemloft.net>2009-03-02 06:15:05 -0500
commit8129d2173ea7a5b030b4cba044d1f92689895083 (patch)
tree0ae9108fa888fbed0f4b846e17c27f6b44cd3c6e /drivers/net/sfc/efx.c
parentb4a44a69877960e620461c663805f7cc52e2a798 (diff)
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.c4
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 = {
1848 1848
1849static struct efx_board efx_dummy_board_info = { 1849static struct efx_board efx_dummy_board_info = {
1850 .init = efx_port_dummy_op_int, 1850 .init = efx_port_dummy_op_int,
1851 .init_leds = efx_port_dummy_op_int, 1851 .init_leds = efx_port_dummy_op_void,
1852 .set_fault_led = efx_port_dummy_op_blink, 1852 .set_id_led = efx_port_dummy_op_blink,
1853 .monitor = efx_port_dummy_op_int, 1853 .monitor = efx_port_dummy_op_int,
1854 .blink = efx_port_dummy_op_blink, 1854 .blink = efx_port_dummy_op_blink,
1855 .fini = efx_port_dummy_op_void, 1855 .fini = efx_port_dummy_op_void,