summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/nic.h
diff options
context:
space:
mode:
authorMartin Habets <martinh@xilinx.com>2022-05-04 08:49:53 +0100
committerDavid S. Miller <davem@davemloft.net>2022-05-04 11:18:08 +0100
commit0c38a5bd60ebce1172e27cfaf37e7b855f5392a3 (patch)
treed96fc3d11cd2eedd2f8eadab1252e6ef256a7d86 /drivers/net/ethernet/sfc/nic.h
parent402f2d6b6b075bb54bc3a73f64f60e5a3b47fa10 (diff)
downloadlinux-0c38a5bd60ebce1172e27cfaf37e7b855f5392a3.tar.bz2
sfc: Disable Siena support
Disable the build of Siena code until later in this patch series. Prevent sfc.ko from binding to Siena NICs. efx_init_sriov/efx_fini_sriov is only used for Siena. Remove calls to those. Signed-off-by: Martin Habets <habetsm.xilinx@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/nic.h')
-rw-r--r--drivers/net/ethernet/sfc/nic.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/ethernet/sfc/nic.h b/drivers/net/ethernet/sfc/nic.h
index 5c2fe3ce3f4d..251868235ae4 100644
--- a/drivers/net/ethernet/sfc/nic.h
+++ b/drivers/net/ethernet/sfc/nic.h
@@ -301,10 +301,6 @@ struct efx_ef10_nic_data {
int efx_ef10_tx_tso_desc(struct efx_tx_queue *tx_queue, struct sk_buff *skb,
bool *data_mapped);
-int efx_init_sriov(void);
-void efx_fini_sriov(void);
-
-extern const struct efx_nic_type siena_a0_nic_type;
extern const struct efx_nic_type efx_hunt_a0_nic_type;
extern const struct efx_nic_type efx_hunt_a0_vf_nic_type;