diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2014-08-29 14:40:08 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-09-23 12:51:08 +0200 |
commit | ec56214f6f23c1e2f78de6afa6835acc35fc03ed (patch) | |
tree | e2c91b868430a9a6a92e5b95b2e98784cd21ec06 /hw/usb/hcd-ehci.h | |
parent | 638ca939d80886545b1b279be240e511da16584f (diff) | |
download | qemu-ec56214f6f23c1e2f78de6afa6835acc35fc03ed.zip qemu-ec56214f6f23c1e2f78de6afa6835acc35fc03ed.tar.gz qemu-ec56214f6f23c1e2f78de6afa6835acc35fc03ed.tar.bz2 |
usb: tag standalone ehci as hotpluggable
Add a flag to EHCIPCIInfo saying whenever the controller supports
companions or not. Make sure we only allow registering companions for
ehci versions supporting that. Enable pci hotplug for the ehci
variants not supporting companions.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb/hcd-ehci.h')
-rw-r--r-- | hw/usb/hcd-ehci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/usb/hcd-ehci.h b/hw/usb/hcd-ehci.h index 4858b7e..2bc259c 100644 --- a/hw/usb/hcd-ehci.h +++ b/hw/usb/hcd-ehci.h @@ -262,6 +262,7 @@ struct EHCIState { MemoryRegion mem_opreg; MemoryRegion mem_ports; int companion_count; + bool companion_enable; uint16_t capsbase; uint16_t opregbase; uint16_t portscbase; |