Skip to content

Commit

Permalink
Switch to IIRQ mechanism
Browse files Browse the repository at this point in the history
  • Loading branch information
Cacodemon345 committed May 24, 2024
1 parent 84fd737 commit a43866b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/usb/usb_uhci_bochs.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,9 @@ usb_uhci_update_irq(bx_uhci_core_t *hub)
}

if (hub->pci_conf[0xc1] & (1 << 5))
pci_irq(*hub->devfunc, PCI_INTD, 0, level, &hub->irq_state);
pci_irq(PCI_IIRQ_BASE | PCI_INTD, 0, 0, level, &hub->irq_state);
else
pci_irq(*hub->devfunc, PCI_INTD, 0, 0, &hub->irq_state);
pci_irq(PCI_IIRQ_BASE | PCI_INTD, 0, 0, 0, &hub->irq_state);
}

bool
Expand Down

0 comments on commit a43866b

Please sign in to comment.