XHCI fix clearing PCI_CMD_INTRDISABLE bit
All checks were successful
Build ISO image / build-and-deploy (push) Successful in 1m30s
Build documentation / build-and-deploy (push) Successful in 1m29s

This commit is contained in:
2026-05-01 16:19:08 +02:00
parent 6298251e66
commit 3e453e99b2

View File

@@ -39,7 +39,7 @@ bool pci_xhci_init(struct proc* proc, struct reschedule_ctx* rctx, struct pci_in
uint16_t new_cmd = pci_cmd;
new_cmd |= (1 << PCI_CMD_MEMSPACE);
new_cmd |= (1 << PCI_CMD_BUSMASTER);
new_cmd &= (1 << PCI_CMD_INTRDISABLE);
new_cmd &= ~(1 << PCI_CMD_INTRDISABLE);
if (pci_cmd != new_cmd) {
pci_write16(pci_info.bus, pci_info.slot, pci_info.func, PCI_COMMAND, new_cmd);