aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/falcon.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/sfc/falcon.c')
-rw-r--r--drivers/net/sfc/falcon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/sfc/falcon.c b/drivers/net/sfc/falcon.c
index 6a96c699e15b..bcdc5452bfd0 100644
--- a/drivers/net/sfc/falcon.c
+++ b/drivers/net/sfc/falcon.c
@@ -2458,7 +2458,7 @@ static bool efx_masked_compare_oword(const efx_oword_t *a, const efx_oword_t *b,
2458 ((a->u64[1] ^ b->u64[1]) & mask->u64[1]); 2458 ((a->u64[1] ^ b->u64[1]) & mask->u64[1]);
2459} 2459}
2460 2460
2461int falcon_test_registers(struct efx_nic *efx) 2461static int falcon_b0_test_registers(struct efx_nic *efx)
2462{ 2462{
2463 unsigned address = 0, i, j; 2463 unsigned address = 0, i, j;
2464 efx_oword_t mask, imask, original, reg, buf; 2464 efx_oword_t mask, imask, original, reg, buf;
@@ -3327,6 +3327,7 @@ struct efx_nic_type falcon_b0_nic_type = {
3327 .get_wol = falcon_get_wol, 3327 .get_wol = falcon_get_wol,
3328 .set_wol = falcon_set_wol, 3328 .set_wol = falcon_set_wol,
3329 .resume_wol = efx_port_dummy_op_void, 3329 .resume_wol = efx_port_dummy_op_void,
3330 .test_registers = falcon_b0_test_registers,
3330 .default_mac_ops = &falcon_xmac_operations, 3331 .default_mac_ops = &falcon_xmac_operations,
3331 3332
3332 .revision = EFX_REV_FALCON_B0, 3333 .revision = EFX_REV_FALCON_B0,