From d9270aedb528468e6d3898f5662b71e16472420c Mon Sep 17 00:00:00 2001 From: OBattler Date: Thu, 22 Jun 2017 07:01:50 +0200 Subject: [PATCH] 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. --- src/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pci.c b/src/pci.c index e7e138804..397442c4c 100644 --- a/src/pci.c +++ b/src/pci.c @@ -194,7 +194,7 @@ void pci_set_irq(int card, int pci_int) pci_issue_irq(pci_irqs[irq]); /* pci_irq_active[card] = 1; */ /* 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); }