From: Gerd Hoffmann Date: Fri, 18 Nov 2011 09:49:25 +0000 (+0100) Subject: usb-ehci: add register names X-Git-Tag: qemu-xen-4.3.0-rc1~1967^2~1 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=335b8d2068cbc56ce86b3c89b0fcd1c1eb4b61e2;p=qemu-upstream-4.3-testing.git usb-ehci: add register names 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 --- diff --git a/hw/usb-ehci.c b/hw/usb-ehci.c index 2609aba34..a946e1d1f 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", };