OK, now pci_irq_set() actually doesn't set the holding status if the IRQ is set to edge, I apologize for the mess up.

This commit is contained in:
OBattler
2017-06-22 07:01:50 +02:00
parent 2c2afdedd8
commit d9270aedb5

View File

@@ -194,7 +194,7 @@ void pci_set_irq(int card, int pci_int)
pci_issue_irq(pci_irqs[irq]); pci_issue_irq(pci_irqs[irq]);
/* pci_irq_active[card] = 1; */ /* pci_irq_active[card] = 1; */
/* If the IRQ is set to edge, there is no need to hold it. */ /* If the IRQ is set to edge, there is no need to hold it. */
if (pci_irq_is_level(pci_irqs[irq])) if (!pci_irq_is_level(pci_irqs[irq]))
{ {
pci_irq_hold[pci_irqs[irq]] |= (1 << card); pci_irq_hold[pci_irqs[irq]] |= (1 << card);
} }