From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:44879) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTZ6p-0008Uc-L3 for qemu-devel@nongnu.org; Mon, 06 Jun 2011 08:40:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QTZ6n-0005eA-RR for qemu-devel@nongnu.org; Mon, 06 Jun 2011 08:40:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:32298) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTZ6n-0005dz-DU for qemu-devel@nongnu.org; Mon, 06 Jun 2011 08:40:41 -0400 From: Gerd Hoffmann Date: Mon, 6 Jun 2011 14:39:22 +0200 Message-Id: <1307363962-27223-32-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 31/31] usb: Use defines for serial bus release number register for EHCI 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-ehci.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/usb-ehci.c b/hw/usb-ehci.c index b151b48..36ba41e 100644 --- a/hw/usb-ehci.c +++ b/hw/usb-ehci.c @@ -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) -- 1.7.1