aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2011-11-18 10:49:25 +0100
committerGerd Hoffmann <kraxel@redhat.com>2011-11-23 16:24:06 +0100
commit335b8d2068cbc56ce86b3c89b0fcd1c1eb4b61e2 (patch)
tree1a5c482a4faec11c462b6cf8ba1791d725c6e1d4
parentaac882e7ce52f12f1b0712534c2456acea4f03d7 (diff)
downloadqemu-arm-335b8d2068cbc56ce86b3c89b0fcd1c1eb4b61e2.tar.gz
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 <kraxel@redhat.com>
-rw-r--r--hw/usb-ehci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/usb-ehci.c b/hw/usb-ehci.c
index 2609aba34c..a946e1d1fd 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",
};