diff options
author | Edward Cree <ecree@solarflare.com> | 2020-09-07 18:14:34 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-09-07 23:46:13 +0200 |
commit | c77289b4332eb4f51eef3091142b927ffe5a2a14 (patch) | |
tree | 288104ff08cac10b5dd7203639baef050fa772cf /drivers/net/ethernet/sfc/mcdi.h | |
parent | sfc: don't double-down() filters in ef100_reset() (diff) | |
download | linux-c77289b4332eb4f51eef3091142b927ffe5a2a14.tar.xz linux-c77289b4332eb4f51eef3091142b927ffe5a2a14.zip |
sfc: remove phy_op indirection
Originally there were several implementations of PHY operations for the
several different PHYs used on Falcon boards. But Falcon is now in a
separate driver, and all sfc NICs since then have had MCDI-managed PHYs.
Thus, there is no need to indirect through function pointers in
efx->phy_op; we can simply call the efx_mcdi_phy_* functions directly.
This also hooks up these functions for EF100, which was previously using
the dummy_phy_ops.
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/sfc/mcdi.h')
-rw-r--r-- | drivers/net/ethernet/sfc/mcdi.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sfc/mcdi.h b/drivers/net/ethernet/sfc/mcdi.h index 8aed65018964..ef6d21e4bd0b 100644 --- a/drivers/net/ethernet/sfc/mcdi.h +++ b/drivers/net/ethernet/sfc/mcdi.h @@ -355,7 +355,6 @@ int efx_mcdi_wol_filter_get_magic(struct efx_nic *efx, int *id_out); int efx_mcdi_wol_filter_remove(struct efx_nic *efx, int id); int efx_mcdi_wol_filter_reset(struct efx_nic *efx); int efx_mcdi_flush_rxqs(struct efx_nic *efx); -int efx_mcdi_port_reconfigure(struct efx_nic *efx); void efx_mcdi_process_link_change(struct efx_nic *efx, efx_qword_t *ev); void efx_mcdi_mac_start_stats(struct efx_nic *efx); void efx_mcdi_mac_stop_stats(struct efx_nic *efx); |