Skip to content

Commit 5b44c2a

Browse files
damien-lemoalbjorn-helgaas
authored andcommitted
net: amd-xgbe: 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-15-dlemoal@kernel.org Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
1 parent ef083b6 commit 5b44c2a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/net/ethernet/amd/xgbe/xgbe-pci.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ static int xgbe_config_irqs(struct xgbe_prv_data *pdata)
170170
goto out;
171171

172172
ret = pci_alloc_irq_vectors(pdata->pcidev, 1, 1,
173-
PCI_IRQ_LEGACY | PCI_IRQ_MSI);
173+
PCI_IRQ_INTX | PCI_IRQ_MSI);
174174
if (ret < 0) {
175175
dev_info(pdata->dev, "single IRQ enablement failed\n");
176176
return ret;

0 commit comments

Comments
 (0)