projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b06756
)
xhci: allow bytewise capability register reads
author
Gerd Hoffmann
<kraxel@redhat.com>
Tue, 4 Sep 2012 12:48:03 +0000
(14:48 +0200)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Tue, 11 Sep 2012 05:43:02 +0000
(07:43 +0200)
Some guests need this according to
Alejandro Martinez Ruiz <alex@securiforest.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-xhci.c
patch
|
blob
|
history
diff --git
a/hw/usb/hcd-xhci.c
b/hw/usb/hcd-xhci.c
index 567ffb159da88d570702fc1586ea201e1b8b7146..e0ca69044a279f5cb2beea0978cb319c945f4c47 100644
(file)
--- a/
hw/usb/hcd-xhci.c
+++ b/
hw/usb/hcd-xhci.c
@@
-2746,8
+2746,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,
};