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>
This commit is contained in:
committed by
David S. Miller
parent
b4a44a6987
commit
8129d2173e
@@ -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,
|
||||
|
Reference in New Issue
Block a user