Skip to content

Commit e0ff0ff

Browse files
damien-lemoalbjorn-helgaas
authored andcommitted
net: alx: Use PCI_IRQ_INTX instead of PCI_IRQ_LEGACY
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>
1 parent ff9b5e1 commit e0ff0ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • drivers/net/ethernet/atheros/alx

drivers/net/ethernet/atheros/alx/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,7 @@ static int alx_init_intr(struct alx_priv *alx)
901901
int ret;
902902

903903
ret = pci_alloc_irq_vectors(alx->hw.pdev, 1, 1,
904-
PCI_IRQ_MSI | PCI_IRQ_LEGACY);
904+
PCI_IRQ_MSI | PCI_IRQ_INTX);
905905
if (ret < 0)
906906
return ret;
907907

0 commit comments

Comments
 (0)