From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:52630) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTGZe-0003Bs-2N for qemu-devel@nongnu.org; Wed, 23 Nov 2011 12:25:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RTGZZ-0008LX-18 for qemu-devel@nongnu.org; Wed, 23 Nov 2011 12:25:29 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46982) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTGZY-0008L7-OT for qemu-devel@nongnu.org; Wed, 23 Nov 2011 12:25:24 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id pANHPOFd029022 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 23 Nov 2011 12:25:24 -0500 From: Gerd Hoffmann Date: Wed, 23 Nov 2011 18:25:16 +0100 Message-Id: <1322069117-27150-7-git-send-email-kraxel@redhat.com> In-Reply-To: <1322069117-27150-1-git-send-email-kraxel@redhat.com> References: <1322069117-27150-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 6/7] usb-ehci: add register names List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann The mmio register name list only had the names for four port status registers. We emulate a EHCI adapter with six ports though, the last two ones are listed as "unknown" in traces. Fix it. Signed-off-by: Gerd Hoffmann --- hw/usb-ehci.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/hw/usb-ehci.c b/hw/usb-ehci.c index 2609aba..a946e1d 100644 --- a/hw/usb-ehci.c +++ b/hw/usb-ehci.c @@ -467,6 +467,8 @@ static const char *ehci_mmio_names[] = { [PORTSC_BEGIN + 4] = "PORTSC #1", [PORTSC_BEGIN + 8] = "PORTSC #2", [PORTSC_BEGIN + 12] = "PORTSC #3", + [PORTSC_BEGIN + 16] = "PORTSC #4", + [PORTSC_BEGIN + 20] = "PORTSC #5", [CONFIGFLAG] = "CONFIGFLAG", }; -- 1.7.1