summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/nic.h
diff options
context:
space:
mode:
authorMartin Habets <martinh@xilinx.com>2022-05-04 09:49:53 +0200
committerDavid S. Miller <davem@davemloft.net>2022-05-04 12:18:08 +0200
commit0c38a5bd60ebce1172e27cfaf37e7b855f5392a3 (patch)
treed96fc3d11cd2eedd2f8eadab1252e6ef256a7d86 /drivers/net/ethernet/sfc/nic.h
parentMerge tag 'mlx5-updates-2022-05-03' of git://git.kernel.org/pub/scm/linux/ker... (diff)
downloadlinux-0c38a5bd60ebce1172e27cfaf37e7b855f5392a3.tar.xz
linux-0c38a5bd60ebce1172e27cfaf37e7b855f5392a3.zip
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;