projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdf0d76
)
uhci: controller is halted after reset
author
Gerd Hoffmann
<kraxel@redhat.com>
Thu, 7 May 2015 07:24:00 +0000
(09:24 +0200)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Fri, 8 May 2015 11:01:08 +0000
(13:01 +0200)
... 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>
hw/usb/hcd-uhci.c
patch
|
blob
|
history
diff --git
a/hw/usb/hcd-uhci.c
b/hw/usb/hcd-uhci.c
index 64a7d873af1864e08053ddeaf9a2cb89393644ea..3f0ed62689cd9a446456104c5aa9f61f6643757d 100644
(file)
--- a/
hw/usb/hcd-uhci.c
+++ b/
hw/usb/hcd-uhci.c
@@
-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;