diff options
author | Shradha Shah <sshah@solarflare.com> | 2014-11-05 13:16:46 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-06 20:43:09 +0100 |
commit | d98a4ffe0d7a8946c67d115f8b3bd8e5bb1df86d (patch) | |
tree | 8759bd88647af178390ac8c16e03b9a6f794c762 /drivers/net/ethernet/sfc/siena.c | |
parent | sfc: Rename implementations in siena_sriov.c to have a 'siena' prefix (diff) | |
download | linux-d98a4ffe0d7a8946c67d115f8b3bd8e5bb1df86d.tar.xz linux-d98a4ffe0d7a8946c67d115f8b3bd8e5bb1df86d.zip |
sfc: Add NIC type operations to replace direct calls from efx.c into siena_sriov.c
Also add dummy functions where required to avoid NULL pointer dereference.
Signed-off-by: Shradha Shah <sshah@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/siena.c')
-rw-r--r-- | drivers/net/ethernet/sfc/siena.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/siena.c b/drivers/net/ethernet/sfc/siena.c index cf40d602230e..3583f0208a6e 100644 --- a/drivers/net/ethernet/sfc/siena.c +++ b/drivers/net/ethernet/sfc/siena.c @@ -997,6 +997,11 @@ const struct efx_nic_type siena_a0_nic_type = { #endif .ptp_write_host_time = siena_ptp_write_host_time, .ptp_set_ts_config = siena_ptp_set_ts_config, + .sriov_init = efx_siena_sriov_init, + .sriov_fini = efx_siena_sriov_fini, + .sriov_mac_address_changed = efx_siena_sriov_mac_address_changed, + .sriov_wanted = efx_siena_sriov_wanted, + .sriov_reset = efx_siena_sriov_reset, .revision = EFX_REV_SIENA_A0, .txd_ptr_tbl_base = FR_BZ_TX_DESC_PTR_TBL, |