mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 00:22:00 +02:00
scsi: hpsa: 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-23-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
416bdc4074
commit
290d6dbbec
|
|
@ -7509,7 +7509,7 @@ static void hpsa_setup_reply_map(struct ctlr_info *h)
|
|||
*/
|
||||
static int hpsa_interrupt_mode(struct ctlr_info *h)
|
||||
{
|
||||
unsigned int flags = PCI_IRQ_LEGACY;
|
||||
unsigned int flags = PCI_IRQ_INTX;
|
||||
int ret;
|
||||
|
||||
/* Some boards advertise MSI but don't really support it */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user