mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 23:52:08 +02:00
scsi: ipr: 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-24-dlemoal@kernel.org Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
290d6dbbec
commit
67908f6015
|
|
@ -9463,7 +9463,7 @@ static int ipr_probe_ioa(struct pci_dev *pdev,
|
|||
ipr_number_of_msix = IPR_MAX_MSIX_VECTORS;
|
||||
}
|
||||
|
||||
irq_flag = PCI_IRQ_LEGACY;
|
||||
irq_flag = PCI_IRQ_INTX;
|
||||
if (ioa_cfg->ipr_chip->has_msi)
|
||||
irq_flag |= PCI_IRQ_MSI | PCI_IRQ_MSIX;
|
||||
rc = pci_alloc_irq_vectors(pdev, 1, ipr_number_of_msix, irq_flag);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user