aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/falcon_boards.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/sfc/falcon_boards.c')
-rw-r--r--drivers/net/sfc/falcon_boards.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/drivers/net/sfc/falcon_boards.c b/drivers/net/sfc/falcon_boards.c
index f65738bb5536..99f737223b10 100644
--- a/drivers/net/sfc/falcon_boards.c
+++ b/drivers/net/sfc/falcon_boards.c
@@ -612,17 +612,17 @@ static void sfe4002_init_leds(struct efx_nic *efx)
612{ 612{
613 /* Set the TX and RX LEDs to reflect status and activity, and the 613 /* Set the TX and RX LEDs to reflect status and activity, and the
614 * fault LED off */ 614 * fault LED off */
615 xfp_set_led(efx, SFE4002_TX_LED, 615 falcon_qt202x_set_led(efx, SFE4002_TX_LED,
616 QUAKE_LED_TXLINK | QUAKE_LED_LINK_ACTSTAT); 616 QUAKE_LED_TXLINK | QUAKE_LED_LINK_ACTSTAT);
617 xfp_set_led(efx, SFE4002_RX_LED, 617 falcon_qt202x_set_led(efx, SFE4002_RX_LED,
618 QUAKE_LED_RXLINK | QUAKE_LED_LINK_ACTSTAT); 618 QUAKE_LED_RXLINK | QUAKE_LED_LINK_ACTSTAT);
619 xfp_set_led(efx, SFE4002_FAULT_LED, QUAKE_LED_OFF); 619 falcon_qt202x_set_led(efx, SFE4002_FAULT_LED, QUAKE_LED_OFF);
620} 620}
621 621
622static void sfe4002_set_id_led(struct efx_nic *efx, bool state) 622static void sfe4002_set_id_led(struct efx_nic *efx, bool state)
623{ 623{
624 xfp_set_led(efx, SFE4002_FAULT_LED, state ? QUAKE_LED_ON : 624 falcon_qt202x_set_led(efx, SFE4002_FAULT_LED, state ? QUAKE_LED_ON :
625 QUAKE_LED_OFF); 625 QUAKE_LED_OFF);
626} 626}
627 627
628static int sfe4002_check_hw(struct efx_nic *efx) 628static int sfe4002_check_hw(struct efx_nic *efx)
@@ -677,16 +677,16 @@ static struct i2c_board_info sfn4112f_hwmon_info = {
677 677
678static void sfn4112f_init_leds(struct efx_nic *efx) 678static void sfn4112f_init_leds(struct efx_nic *efx)
679{ 679{
680 xfp_set_led(efx, SFN4112F_ACT_LED, 680 falcon_qt202x_set_led(efx, SFN4112F_ACT_LED,
681 QUAKE_LED_RXLINK | QUAKE_LED_LINK_ACT); 681 QUAKE_LED_RXLINK | QUAKE_LED_LINK_ACT);
682 xfp_set_led(efx, SFN4112F_LINK_LED, 682 falcon_qt202x_set_led(efx, SFN4112F_LINK_LED,
683 QUAKE_LED_RXLINK | QUAKE_LED_LINK_STAT); 683 QUAKE_LED_RXLINK | QUAKE_LED_LINK_STAT);
684} 684}
685 685
686static void sfn4112f_set_id_led(struct efx_nic *efx, bool state) 686static void sfn4112f_set_id_led(struct efx_nic *efx, bool state)
687{ 687{
688 xfp_set_led(efx, SFN4112F_LINK_LED, 688 falcon_qt202x_set_led(efx, SFN4112F_LINK_LED,
689 state ? QUAKE_LED_ON : QUAKE_LED_OFF); 689 state ? QUAKE_LED_ON : QUAKE_LED_OFF);
690} 690}
691 691
692static int sfn4112f_check_hw(struct efx_nic *efx) 692static int sfn4112f_check_hw(struct efx_nic *efx)