aboutsummaryrefslogtreecommitdiff
path: root/hw/usb
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2020-02-17 12:48:11 -0800
committerPeter Maydell <peter.maydell@linaro.org>2020-02-21 16:07:02 +0000
commiteb271ae58116863b22c02582788f841a7848e1af (patch)
treeee98b5743d22210bf9a3a540ec23b0a1a9247a53 /hw/usb
parentfbec359e9279ce78908b9f2af2c264e7448336af (diff)
downloadqemu-eb271ae58116863b22c02582788f841a7848e1af.zip
qemu-eb271ae58116863b22c02582788f841a7848e1af.tar.gz
qemu-eb271ae58116863b22c02582788f841a7848e1af.tar.bz2
hcd-ehci: Introduce "companion-enable" sysbus property
We'll use this property in a follow-up patch to insantiate an EHCI bus with companion support. Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Tested-by: Niek Linnenbank <nieklinnenbank@gmail.com> Message-id: 20200217204812.9857-3-linux@roeck-us.net Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/usb')
-rw-r--r--hw/usb/hcd-ehci-sysbus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/usb/hcd-ehci-sysbus.c b/hw/usb/hcd-ehci-sysbus.c
index 8d47385..b22fb25 100644
--- a/hw/usb/hcd-ehci-sysbus.c
+++ b/hw/usb/hcd-ehci-sysbus.c
@@ -33,6 +33,8 @@ static const VMStateDescription vmstate_ehci_sysbus = {
static Property ehci_sysbus_properties[] = {
DEFINE_PROP_UINT32("maxframes", EHCISysBusState, ehci.maxframes, 128),
+ DEFINE_PROP_BOOL("companion-enable", EHCISysBusState, ehci.companion_enable,
+ false),
DEFINE_PROP_END_OF_LIST(),
};