OHCI: HcHCCA's lower 8 bits are always zero

Start of work on USB endpoint device infrastructure
This commit is contained in:
Cacodemon345
2023-04-30 00:59:11 +06:00
parent 61c0999d57
commit 7e90e9215a
2 changed files with 10 additions and 0 deletions

View File

@@ -208,6 +208,8 @@ ohci_mmio_write(uint32_t addr, uint8_t val, void *p)
val &= ~0x01;
}
break;
case OHCI_HcHCCA:
return;
case OHCI_HcInterruptStatus:
dev->ohci_mmio[addr] &= ~(val & 0x7f);
return;