diff mbox

[3/3] usb: Use defines for serial bus release number register for EHCI

Message ID 1306977528-20429-4-git-send-email-bradh@frogmouth.net
State New
Headers show

Commit Message

Brad Hards June 2, 2011, 1:18 a.m. UTC
Signed-off-by: Brad Hards <bradh@frogmouth.net>
---
 hw/usb-ehci.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/hw/usb-ehci.c b/hw/usb-ehci.c
index f63519e..81b9d0b 100644
--- a/hw/usb-ehci.c
+++ b/hw/usb-ehci.c
@@ -1970,7 +1970,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)