[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 6/7] usb-ehci: add register names
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH 6/7] usb-ehci: add register names |
Date: |
Wed, 23 Nov 2011 18:25:16 +0100 |
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 <address@hidden>
---
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
- [Qemu-devel] [PULL 1.0] usb fixes, Gerd Hoffmann, 2011/11/23
- [Qemu-devel] [PATCH 3/7] usb-hub: wakeup on detach too., Gerd Hoffmann, 2011/11/23
- [Qemu-devel] [PATCH 5/7] usb-ehci: codestyle fixups, Gerd Hoffmann, 2011/11/23
- [Qemu-devel] [PATCH 7/7] usb-host: add usb_host_do_reset function., Gerd Hoffmann, 2011/11/23
- [Qemu-devel] [PATCH 1/7] usb: make usb_create_simple catch and pass up errors., Gerd Hoffmann, 2011/11/23
- [Qemu-devel] [PATCH 2/7] usb: fix usb_qdev_init error handling., Gerd Hoffmann, 2011/11/23
- [Qemu-devel] [PATCH 6/7] usb-ehci: add register names,
Gerd Hoffmann <=
- [Qemu-devel] [PATCH 4/7] usb-hub: implement reset, Gerd Hoffmann, 2011/11/23
- Re: [Qemu-devel] [PULL 1.0] usb fixes, Anthony Liguori, 2011/11/28