From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:47103) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRwZ3-0000ht-K2 for qemu-devel@nongnu.org; Wed, 01 Jun 2011 21:19:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QRwYz-0000e2-PX for qemu-devel@nongnu.org; Wed, 01 Jun 2011 21:19:09 -0400 Received: from smtpout3.three.com.au ([202.124.68.59]:4668) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRwYy-0000b6-Jw for qemu-devel@nongnu.org; Wed, 01 Jun 2011 21:19:05 -0400 From: Brad Hards Date: Thu, 2 Jun 2011 11:18:47 +1000 Message-Id: <1306977528-20429-3-git-send-email-bradh@frogmouth.net> In-Reply-To: <1306977528-20429-1-git-send-email-bradh@frogmouth.net> References: <1306977528-20429-1-git-send-email-bradh@frogmouth.net> Subject: [Qemu-devel] [PATCH 2/3] usb: Use defines for serial bus release number register for UHCI List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: kraxel@redhat.com, qemu-devel@nongnu.org Cc: Brad Hards Signed-off-by: Brad Hards --- 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 c0de05b..d9c86ad 100644 --- a/hw/usb-uhci.c +++ b/hw/usb-uhci.c @@ -1098,7 +1098,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, &s->dev.qdev); for(i = 0; i < NB_PORTS; i++) { -- 1.7.4.1