Received: from eggs.gnu.org ([140.186.70.92]:44864) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTZ6n-0008Tn-L0 for qemu-devel@nongnu.org; Mon, 06 Jun 2011 08:40:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QTZ6l-0005df-W6 for qemu-devel@nongnu.org; Mon, 06 Jun 2011 08:40:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:14148) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTZ6l-0005dV-CF for qemu-devel@nongnu.org; Mon, 06 Jun 2011 08:40:39 -0400 From: Gerd Hoffmann Date: Mon, 6 Jun 2011 14:39:21 +0200 Message-Id: <1307363962-27223-31-git-send-email-kraxel@redhat.com> In-Reply-To: <1307363962-27223-1-git-send-email-kraxel@redhat.com> References: <1307363962-27223-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 30/31] usb: Use defines for serial bus release number register for UHCI List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann , Brad Hards From: Brad Hards Signed-off-by: Brad Hards Signed-off-by: Gerd Hoffmann --- 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 8f504d1..1503373 100644 --- a/hw/usb-uhci.c +++ b/hw/usb-uhci.c @@ -1122,7 +1122,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, &uhci_bus_ops, &s->dev.qdev); for(i = 0; i < NB_PORTS; i++) { -- 1.7.1