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