summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/sfc/efx_channels.h
diff options
context:
space:
mode:
authorEdward Cree <ecree@solarflare.com>2020-07-02 19:28:13 +0300
committerDavid S. Miller <davem@davemloft.net>2020-07-03 00:47:39 +0300
commite4ff3232102080e8491f2fecb83446e1cbf5b87c (patch)
tree11320fd5f4655cdb00b075cd0da6be2b60eef59d /drivers/net/ethernet/sfc/efx_channels.h
parentbc32442176d7289a71a2e940e5e8ea63cd0a23bb (diff)
downloadlinux-e4ff3232102080e8491f2fecb83446e1cbf5b87c.tar.xz
sfc: move modparam 'interrupt_mode' out of common channel code
EF100 only supports MSI-X, so there's no need for the new driver to expose this old module parameter. Since it's now visible to the linker, we have to rename it internally to efx_interrupt_mode to avoid symbol collisions in non-modular builds. Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/efx_channels.h')
-rw-r--r--drivers/net/ethernet/sfc/efx_channels.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/efx_channels.h b/drivers/net/ethernet/sfc/efx_channels.h
index 8d7b8c4142d7..86dd058d40f3 100644
--- a/drivers/net/ethernet/sfc/efx_channels.h
+++ b/drivers/net/ethernet/sfc/efx_channels.h
@@ -11,6 +11,8 @@
#ifndef EFX_CHANNELS_H
#define EFX_CHANNELS_H
+extern unsigned int efx_interrupt_mode;
+
int efx_probe_interrupts(struct efx_nic *efx);
void efx_remove_interrupts(struct efx_nic *efx);
int efx_soft_enable_interrupts(struct efx_nic *efx);