Skip to content

Commit

Permalink
scsi: hpsa: Use PCI_IRQ_INTX instead of PCI_IRQ_LEGACY
Browse files Browse the repository at this point in the history
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY macro.

Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Damien Le Moal <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Martin K. Petersen <[email protected]>
  • Loading branch information
damien-lemoal authored and bjorn-helgaas committed May 16, 2024
1 parent 416bdc4 commit 290d6db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/hpsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 290d6db

Please sign in to comment.