• Edward Cree's avatar
    sfc: remove phy_op indirection · c77289b4
    Edward Cree authored
    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: default avatarEdward Cree <ecree@solarflare.com>
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    c77289b4
efx_common.c 35.7 KB