aboutsummaryrefslogtreecommitdiff
path: root/hw/usb/hcd-ehci.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2013-09-09 10:18:17 +0200
committerGerd Hoffmann <kraxel@redhat.com>2013-09-10 11:14:42 +0200
commitadbecc89731cf3e0ae656d50ea9fa58c589c4bdc (patch)
treefec195e2437a21f19b8fb17493ab68bd95939ab3 /hw/usb/hcd-ehci.h
parent615fe4de4b3c26619611078960d3103550bde7d0 (diff)
ehci: save device pointer in EHCIState
We'll need a pointer to the actual pci/sysbus device, stick a pointer to it into the EHCIState struct. https://bugzilla.redhat.com/show_bug.cgi?id=1005495 Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb/hcd-ehci.h')
-rw-r--r--hw/usb/hcd-ehci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/usb/hcd-ehci.h b/hw/usb/hcd-ehci.h
index 15a28e8b31..065c9fa741 100644
--- a/hw/usb/hcd-ehci.h
+++ b/hw/usb/hcd-ehci.h
@@ -255,6 +255,7 @@ typedef QTAILQ_HEAD(EHCIQueueHead, EHCIQueue) EHCIQueueHead;
struct EHCIState {
USBBus bus;
+ DeviceState *device;
qemu_irq irq;
MemoryRegion mem;
AddressSpace *as;