diff options
author | Tobias Regnery <tobias.regnery@gmail.com> | 2016-11-15 12:43:15 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-15 22:46:30 -0500 |
commit | f58e0f77471b913c18fc253c90fd7bb8ee6fca3f (patch) | |
tree | 64b44955cdb4bf19dc9e2aafca2ade86376bff2d /drivers/net/ethernet/atheros/alx | |
parent | 2e06826bc659e0ff664b709719d746b7b088827b (diff) | |
download | op-kernel-dev-f58e0f77471b913c18fc253c90fd7bb8ee6fca3f.zip op-kernel-dev-f58e0f77471b913c18fc253c90fd7bb8ee6fca3f.tar.gz |
alx: enable msi-x interrupts by default
Remove the module parameter to enable msi-x support and enable msi-x
interrupts unconditionally by default. This is a preparatory step to enable
multi queue support by default, because this is only working with msi-x
interrupts.
Signed-off-by: Tobias Regnery <tobias.regnery@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/atheros/alx')
-rw-r--r-- | drivers/net/ethernet/atheros/alx/main.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/ethernet/atheros/alx/main.c b/drivers/net/ethernet/atheros/alx/main.c index 0e773a2..91c9149 100644 --- a/drivers/net/ethernet/atheros/alx/main.c +++ b/drivers/net/ethernet/atheros/alx/main.c @@ -51,10 +51,6 @@ const char alx_drv_name[] = "alx"; -static bool msix = false; -module_param(msix, bool, 0); -MODULE_PARM_DESC(msix, "Enable msi-x interrupt support"); - static void alx_free_txbuf(struct alx_tx_queue *txq, int entry) { struct alx_buffer *txb = &txq->bufs[entry]; @@ -1226,7 +1222,7 @@ static int __alx_open(struct alx_priv *alx, bool resume) { int err; - alx_init_intr(alx, msix); + alx_init_intr(alx, true); if (!resume) netif_carrier_off(alx->dev); |