usb-ohci: Add support for being a companion controller
authorHans de Goede <hdegoede@redhat.com>
Fri, 24 Jun 2011 18:29:05 +0000 (20:29 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 5 Jul 2011 13:09:02 +0000 (15:09 +0200)
commitf0139eee07b8523e6fa0c31ef6c0acb945e8a984
treeae168e91b87fc02521655db7155897118238065e
parent5ed37db2bfc2fb67ae1aae0e141213dfb5e5beb7
usb-ohci: Add support for being a companion controller

To use as a companion controller, use pci-ohci as device and set the
masterbus and num-ports properties, ie:

-device usb-ehci,addr=0b.1,multifunction=on,id=ehci0
-device pci-ohci,addr=0b.0,multifunction=on,masterbus=ehci0.0,num-ports=4

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-ohci.c