diff options
author | Brad Hards | 2011-06-02 03:18:48 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2011-06-14 12:56:50 +0200 |
commit | 4001f22ffdd6bc890ffc58e6e1ac75443fe67c97 (patch) | |
tree | befb27d4c83a03324dd60673e97ba821e2e5a222 /hw/usb-ehci.c | |
parent | usb: Use defines for serial bus release number register for UHCI (diff) | |
download | qemu-4001f22ffdd6bc890ffc58e6e1ac75443fe67c97.tar.gz qemu-4001f22ffdd6bc890ffc58e6e1ac75443fe67c97.tar.xz qemu-4001f22ffdd6bc890ffc58e6e1ac75443fe67c97.zip |
usb: Use defines for serial bus release number register for EHCI
Signed-off-by: Brad Hards <bradh@frogmouth.net>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb-ehci.c')
-rw-r--r-- | hw/usb-ehci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb-ehci.c b/hw/usb-ehci.c index fb01d543d6..c909127735 100644 --- a/hw/usb-ehci.c +++ b/hw/usb-ehci.c @@ -2167,7 +2167,7 @@ static int usb_ehci_initfn(PCIDevice *dev) // pci_conf[0x50] = 0x01; // power management caps - pci_set_byte(&pci_conf[0x60], 0x20); // spec release number (2.1.4) + pci_set_byte(&pci_conf[USB_SBRN], USB_RELEASE_2); // release number (2.1.4) pci_set_byte(&pci_conf[0x61], 0x20); // frame length adjustment (2.1.5) pci_set_word(&pci_conf[0x62], 0x00); // port wake up capability (2.1.6) |