usb: tag standalone ehci as hotpluggable
commitec56214f6f23c1e2f78de6afa6835acc35fc03ed
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 29 Aug 2014 12:40:08 +0000 (29 14:40 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 23 Sep 2014 10:51:08 +0000 (23 12:51 +0200)
treee2c91b868430a9a6a92e5b95b2e98784cd21ec06
parent638ca939d80886545b1b279be240e511da16584f
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>
hw/usb/hcd-ehci-pci.c
hw/usb/hcd-ehci.c
hw/usb/hcd-ehci.h