[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 54/54] xhci: allow bytewise capability register read
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH 54/54] xhci: allow bytewise capability register reads |
Date: |
Thu, 6 Sep 2012 09:12:55 +0200 |
Some guests need this according to
Alejandro Martinez Ruiz <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>
---
hw/usb/hcd-xhci.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c
index 500892d..2918e64 100644
--- a/hw/usb/hcd-xhci.c
+++ b/hw/usb/hcd-xhci.c
@@ -2748,8 +2748,10 @@ static void xhci_doorbell_write(void *ptr,
target_phys_addr_t reg,
static const MemoryRegionOps xhci_cap_ops = {
.read = xhci_cap_read,
- .valid.min_access_size = 4,
+ .valid.min_access_size = 1,
.valid.max_access_size = 4,
+ .impl.min_access_size = 4,
+ .impl.max_access_size = 4,
.endianness = DEVICE_LITTLE_ENDIAN,
};
--
1.7.1
- [Qemu-devel] [PATCH 31/54] xhci: rip out background transfer code, (continued)
- [Qemu-devel] [PATCH 31/54] xhci: rip out background transfer code, Gerd Hoffmann, 2012/09/06
- [Qemu-devel] [PATCH 42/54] usb3: superspeed endpoint companion, Gerd Hoffmann, 2012/09/06
- [Qemu-devel] [PATCH 34/54] xhci: implement mfindex, Gerd Hoffmann, 2012/09/06
- [Qemu-devel] [PATCH 35/54] xhci: iso xfer support, Gerd Hoffmann, 2012/09/06
- [Qemu-devel] [PATCH 47/54] xhci: add msix support, Gerd Hoffmann, 2012/09/06
- [Qemu-devel] [PATCH 45/54] xhci: fix & cleanup msi., Gerd Hoffmann, 2012/09/06
- [Qemu-devel] [PATCH 48/54] xhci: move register update into xhci_intr_raise, Gerd Hoffmann, 2012/09/06
- [Qemu-devel] [PATCH 46/54] xhci: rework interrupt handling, Gerd Hoffmann, 2012/09/06
- [Qemu-devel] [PATCH 50/54] xhci: prepare xhci_runtime_{read, write} for multiple interrupters, Gerd Hoffmann, 2012/09/06
- [Qemu-devel] [PATCH 49/54] xhci: add XHCIInterrupter, Gerd Hoffmann, 2012/09/06
- [Qemu-devel] [PATCH 54/54] xhci: allow bytewise capability register reads,
Gerd Hoffmann <=
- [Qemu-devel] [PATCH 29/54] Better name usb braille device, Gerd Hoffmann, 2012/09/06
- [Qemu-devel] [PATCH 22/54] usb-redir: Move to core packet id and queue handling, Gerd Hoffmann, 2012/09/06
- [Qemu-devel] [PATCH 51/54] xhci: pick target interrupter, Gerd Hoffmann, 2012/09/06
- [Qemu-devel] [PATCH 53/54] xhci: kill xhci_mem_{read, write} dispatcher functions, Gerd Hoffmann, 2012/09/06
- [Qemu-devel] [PATCH 32/54] xhci: drop buffering, Gerd Hoffmann, 2012/09/06
- Re: [Qemu-devel] [PULL 00/54] usb patch queue, Aurelien Jarno, 2012/09/10