summaryrefslogtreecommitdiff
path: root/hw/usb/hcd-xhci.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2013-04-05 11:29:14 +0200
committerGerd Hoffmann <kraxel@redhat.com>2013-04-16 11:59:08 +0200
commit6d3bc22e31bcee74dc1e05a5370cabb33b7c3fda (patch)
tree79db41d1557f96a742f6906a6d5824e881b09956 /hw/usb/hcd-xhci.c
parent94ae9eece7c8192170a4159804e152fa32e9eacf (diff)
downloadqemu-6d3bc22e31bcee74dc1e05a5370cabb33b7c3fda.tar.gz
xhci: add xhci_cap_write
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb/hcd-xhci.c')
-rw-r--r--hw/usb/hcd-xhci.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c
index c0dbc54e1a..7f740d9c6d 100644
--- a/hw/usb/hcd-xhci.c
+++ b/hw/usb/hcd-xhci.c
@@ -3079,8 +3079,15 @@ static void xhci_doorbell_write(void *ptr, hwaddr reg,
}
}
+static void xhci_cap_write(void *opaque, hwaddr addr, uint64_t val,
+ unsigned width)
+{
+ /* nothing */
+}
+
static const MemoryRegionOps xhci_cap_ops = {
.read = xhci_cap_read,
+ .write = xhci_cap_write,
.valid.min_access_size = 1,
.valid.max_access_size = 4,
.impl.min_access_size = 4,