summaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/files/patch-usb-hchalt
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/qemu-devel/files/patch-usb-hchalt')
-rw-r--r--emulators/qemu-devel/files/patch-usb-hchalt10
1 files changed, 10 insertions, 0 deletions
diff --git a/emulators/qemu-devel/files/patch-usb-hchalt b/emulators/qemu-devel/files/patch-usb-hchalt
new file mode 100644
index 000000000000..360104d5bb25
--- /dev/null
+++ b/emulators/qemu-devel/files/patch-usb-hchalt
@@ -0,0 +1,10 @@
+Index: qemu/hw/usb-uhci.c
+@@ -527,6 +532,8 @@
+
+ if (!(s->cmd & UHCI_CMD_RS)) {
+ qemu_del_timer(s->frame_timer);
++ /* set hchalted bit in status - UHCI11D 2.1.2 */
++ s->status |= UHCI_STS_HCHALTED;
+ return;
+ }
+ frame_addr = s->fl_base_addr + ((s->frnum & 0x3ff) << 2);