From patchwork Thu Jun 2 01:18:48 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brad Hards X-Patchwork-Id: 98324 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id A3A9EB6F8E for ; Thu, 2 Jun 2011 12:33:02 +1000 (EST) Received: from localhost ([::1]:48199 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRxiV-0001Gu-CQ for incoming@patchwork.ozlabs.org; Wed, 01 Jun 2011 22:32:59 -0400 Received: from eggs.gnu.org ([140.186.70.92]:47085) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRwZ1-0000hH-Mx for qemu-devel@nongnu.org; Wed, 01 Jun 2011 21:19:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QRwYz-0000dz-Pl for qemu-devel@nongnu.org; Wed, 01 Jun 2011 21:19:07 -0400 Received: from smtpout3.three.com.au ([202.124.68.59]:4673) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRwYy-0000bV-DT for qemu-devel@nongnu.org; Wed, 01 Jun 2011 21:19:04 -0400 Received: from auumvs2fe06.three.com.au (auhgvpsmtp.three.com.au [10.176.77.86]) by smtpout3.three.com.au (Postfix) with ESMTP id 7124577C89; Thu, 2 Jun 2011 11:18:58 +1000 (EST) Received: from localhost.localdomain ([10.224.20.109]) by auumvs2fe06.three.com.au with ESMTP id p521J7N6029844-p521J7NA029844; Thu, 2 Jun 2011 11:19:11 +1000 From: Brad Hards To: kraxel@redhat.com, qemu-devel@nongnu.org Date: Thu, 2 Jun 2011 11:18:48 +1000 Message-Id: <1306977528-20429-4-git-send-email-bradh@frogmouth.net> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1306977528-20429-1-git-send-email-bradh@frogmouth.net> References: <1306977528-20429-1-git-send-email-bradh@frogmouth.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 202.124.68.59 Cc: Brad Hards Subject: [Qemu-devel] [PATCH 3/3] usb: Use defines for serial bus release number register for EHCI X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Brad Hards --- 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)