projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff9b5e1
)
net: alx: Use PCI_IRQ_INTX instead of PCI_IRQ_LEGACY
author
Damien Le Moal
<dlemoal@kernel.org>
Mon, 25 Mar 2024 07:09:27 +0000
(16:09 +0900)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Thu, 25 Apr 2024 17:53:31 +0000
(12:53 -0500)
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY macro.
Link:
https://lore.kernel.org/r/20240325070944.3600338-17-dlemoal@kernel.org
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/net/ethernet/atheros/alx/main.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/atheros/alx/main.c
b/drivers/net/ethernet/atheros/alx/main.c
index 49bb9a8f00e64f5ce23acf4a26f044e7aa205751..0dbb541155f32ebb06216b332ffe8006c66f11e6 100644
(file)
--- a/
drivers/net/ethernet/atheros/alx/main.c
+++ b/
drivers/net/ethernet/atheros/alx/main.c
@@
-901,7
+901,7
@@
static int alx_init_intr(struct alx_priv *alx)
int ret;
ret = pci_alloc_irq_vectors(alx->hw.pdev, 1, 1,
- PCI_IRQ_MSI | PCI_IRQ_
LEGACY
);
+ PCI_IRQ_MSI | PCI_IRQ_
INTX
);
if (ret < 0)
return ret;