]> git.ipfire.org Git - thirdparty/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)
committerMichael Tokarev <mjt@tls.msk.ru>
Sun, 28 May 2023 09:02:26 +0000 (12:02 +0300)
commit49d5fc4cfc420145aa203d14345bd1da48df1c9b
treeeb4ccca55c2d3514b6a9ced041219f75030575dd
parent12f0e6175808505f9c458a6c03967a49e6980159
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>
(cherry picked from commit 6301460ce9f59885e8feb65185bcfb6b128c8eff)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/usb/hcd-ohci.c