Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into usb-bochs
Browse files Browse the repository at this point in the history
  • Loading branch information
Cacodemon345 committed May 24, 2024
2 parents 98fa876 + 07f71aa commit 9eb6a1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ pci_irq(uint8_t slot, uint8_t pci_int, int level, int set, uint8_t *irq_state)
if (!last_pci_card || (pci_flags & FLAG_NO_IRQ_STEERING))
return;

irq_routing = (pci_int_index - PCI_INTA) & PCI_IRQ_MAX;
irq_routing = (pci_int_index - PCI_IIRQ_BASE) & PCI_IRQ_MAX;

irq_line = pci_irqs[irq_routing];

Expand Down

0 comments on commit 9eb6a1d

Please sign in to comment.