]> git.proxmox.com Git - mirror_qemu.git/commitdiff
usb: Use defines for serial bus release number register for EHCI
authorBrad Hards <bradh@frogmouth.net>
Thu, 2 Jun 2011 01:18:48 +0000 (11:18 +1000)
committerGerd 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-ehci.c

index fb01d543d6a2e37ddcece67eedb72101d10e609c..c90912773539f20ce155444c48ec4da96c954986 100644 (file)
@@ -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)