diff options
author | Brad Hards <bradh@frogmouth.net> | 2011-06-02 11:18:47 +1000 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2011-06-14 12:56:50 +0200 |
commit | e59d33a7346641aef52deb3e5e577ea6a73a7be9 (patch) | |
tree | b1886c0a13874feec0b053b27c409bd6e9227869 | |
parent | 8e257816b0cb267b0cdfb819449d39f1689e0aa4 (diff) | |
download | qemu-e59d33a7346641aef52deb3e5e577ea6a73a7be9.zip qemu-e59d33a7346641aef52deb3e5e577ea6a73a7be9.tar.gz qemu-e59d33a7346641aef52deb3e5e577ea6a73a7be9.tar.bz2 |
usb: Use defines for serial bus release number register for UHCI
Signed-off-by: Brad Hards <bradh@frogmouth.net>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r-- | hw/usb-uhci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb-uhci.c b/hw/usb-uhci.c index 8f504d1..1503373 100644 --- 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++) { |