mirror of
https://github.com/xemu-project/xemu.git
synced 2026-11-12 00:59:03 +01:00
uhci: controller is halted after reset
... and the status register should say so. Fixes "usbus0: controller did not stop" error printed by freebsd. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
1 parent
cdf0d7694d
commit
ca5a21c40d
1 file changed
+1
-1
+1
-1
@@ -366,7 +366,7 @@ static void uhci_reset(DeviceState *dev)
|
||||
pci_conf[0x6a] = 0x01; /* usb clock */
|
||||
pci_conf[0x6b] = 0x00;
|
||||
s->cmd = 0;
|
||||
s->status = 0;
|
||||
s->status = UHCI_STS_HCHALTED;
|
||||
s->status2 = 0;
|
||||
s->intr = 0;
|
||||
s->fl_base_addr = 0;
|
||||
|
||||
Reference in new issue
Block a user