Skip to content

Commit

Permalink
ALi 1543 USB IRQs now fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Cacodemon345 committed Oct 9, 2024
1 parent abe77b3 commit 3c7782b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/chipset/ali1543.c
Original file line number Diff line number Diff line change
Expand Up @@ -1612,7 +1612,10 @@ ali5237_usb_pci_irq(void *priv, int level)
{
ali1543_t *dev = priv;

pci_set_mirq(PCI_MIRQ4, level, &dev->usb_irq_state);
if (level)
pci_set_mirq(PCI_MIRQ4, !(dev->pci_conf[0x77] & 0x10), &dev->usb_irq_state);
else
pci_clear_mirq(PCI_MIRQ4, !(dev->pci_conf[0x77] & 0x10), &dev->usb_irq_state);
}

static void *
Expand Down

0 comments on commit 3c7782b

Please sign in to comment.