From: Guenter Roeck Date: Mon, 17 Feb 2020 20:48:11 +0000 (-0800) Subject: hcd-ehci: Introduce "companion-enable" sysbus property X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=eb271ae58116863b22c02582788f841a7848e1af;p=qmiga%2Fqemu.git 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 Signed-off-by: Guenter Roeck Tested-by: Niek Linnenbank Message-id: 20200217204812.9857-3-linux@roeck-us.net Signed-off-by: Peter Maydell --- diff --git a/hw/usb/hcd-ehci-sysbus.c b/hw/usb/hcd-ehci-sysbus.c index 8d4738565e..b22fb258be 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(), };