Skip to content

Commit a135ce0

Browse files
committed
Fixed USB EHCI issue reported in discussion #727.
1 parent 689229d commit a135ce0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bochs/iodev/usb/usb_ehci.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,7 @@ bool bx_usb_ehci_c::write_handler(bx_phy_address addr, unsigned len, void *data,
980980
}
981981
break;
982982
case 0x04:
983-
BX_EHCI_THIS hub.op_regs.UsbSts.inti ^= (value & USBINTR_MASK);
983+
BX_EHCI_THIS hub.op_regs.UsbSts.inti &= ~(value & USBINTR_MASK);
984984
BX_EHCI_THIS update_irq();
985985
break;
986986
case 0x08:

0 commit comments

Comments
 (0)