projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c6eb98
)
usb: Use defines for serial bus release number register for UHCI
author
Brad Hards
<bradh@frogmouth.net>
Thu, 2 Jun 2011 01:18:47 +0000
(11:18 +1000)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Tue, 14 Jun 2011 10:56:50 +0000
(12:56 +0200)
Signed-off-by: Brad Hards <bradh@frogmouth.net>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-uhci.c
patch
|
blob
|
history
diff --git
a/hw/usb-uhci.c
b/hw/usb-uhci.c
index 8f504d11d5d3ad894741d7a315cf04efedc5ad59..15033735365740f1446450db680978b19aa72ce2 100644
(file)
--- a/
hw/usb-uhci.c
+++ b/
hw/usb-uhci.c
@@
-1122,7
+1122,7
@@
static int usb_uhci_common_initfn(UHCIState *s)
pci_config_set_class(pci_conf, PCI_CLASS_SERIAL_USB);
/* TODO: reset value should be 0. */
pci_conf[PCI_INTERRUPT_PIN] = 4; // interrupt pin 3
- pci_conf[
0x60] = 0x10
; // release number
+ pci_conf[
USB_SBRN] = USB_RELEASE_1
; // release number
usb_bus_new(&s->bus, &uhci_bus_ops, &s->dev.qdev);
for(i = 0; i < NB_PORTS; i++) {