r8169: 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-18-dlemoal@kernel.org Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Heiner Kallweit <hkallweit1@gmail.com>
This commit is contained in:
parent
e0ff0ff74b
commit
b14ed9867d
1 changed files with 1 additions and 1 deletions
|
@ -5076,7 +5076,7 @@ static int rtl_alloc_irq(struct rtl8169_private *tp)
|
|||
rtl_lock_config_regs(tp);
|
||||
fallthrough;
|
||||
case RTL_GIGA_MAC_VER_07 ... RTL_GIGA_MAC_VER_17:
|
||||
flags = PCI_IRQ_LEGACY;
|
||||
flags = PCI_IRQ_INTX;
|
||||
break;
|
||||
default:
|
||||
flags = PCI_IRQ_ALL_TYPES;
|
||||
|
|
Loading…
Add table
Reference in a new issue