qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Brad Hards <bradh@frogmouth.net>
To: kraxel@redhat.com, qemu-devel@nongnu.org
Cc: Brad Hards <bradh@frogmouth.net>
Subject: [Qemu-devel] [PATCH 3/3] usb: Use defines for serial bus release number register for EHCI
Date: Thu,  2 Jun 2011 11:18:48 +1000	[thread overview]
Message-ID: <1306977528-20429-4-git-send-email-bradh@frogmouth.net> (raw)
In-Reply-To: <1306977528-20429-1-git-send-email-bradh@frogmouth.net>

Signed-off-by: Brad Hards <bradh@frogmouth.net>
---
 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 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)
 
-- 
1.7.4.1

      parent reply	other threads:[~2011-06-02  1:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-02  1:18 [Qemu-devel] [0/3] usb: use defines instead of magic numbers for USB serial bus release number Brad Hards
2011-06-02  1:18 ` [Qemu-devel] [PATCH 1/3] usb: Add defines for USB Serial Bus Release Number register Brad Hards
2011-06-02  1:18 ` [Qemu-devel] [PATCH 2/3] usb: Use defines for serial bus release number register for UHCI Brad Hards
2011-06-02  1:18 ` Brad Hards [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1306977528-20429-4-git-send-email-bradh@frogmouth.net \
    --to=bradh@frogmouth.net \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).