]> git.proxmox.com Git - mirror_qemu.git/commit
usb/ohci: Set pad to 0 after frame update
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 23 May 2023 15:58:40 +0000 (17:58 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 25 May 2023 08:18:33 +0000 (10:18 +0200)
commit6301460ce9f59885e8feb65185bcfb6b128c8eff
treef0ff6ad186abcf079c5ecc7e19073c0bba92cee8
parentb03fcd6818f690d168860f895bc9e8eab971d6de
usb/ohci: Set pad to 0 after frame update

When the OHCI controller's framenumber is incremented, HccaPad1 register
should be set to zero (Ref OHCI Spec 4.4)

ReactOS uses hccaPad1 to determine if the OHCI hardware is running,
consequently it fails this check in current qemu master.

Signed-off-by: Ryan Wendland <wendland@live.com.au>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1048
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/usb/hcd-ohci.c