Revision 5b19d9a2
ID | 5b19d9a247c47fe52c4f3d3e844009a689ee6b28 |
qdev/usb: convert ohci.
Drop num_ports argument for usb_ohci_init_pci(), everybody
calls it with num_ports == 3, so it is pointless.
Convert ohci pci device into qdev.
TODO: convert non-pci ohci adapters.
You can add a OHCI USB Controller to your virtual pc now using
'-device pci-ohci'. Specifying a id is a good idea, so you can
attach usb devices to it, like this:
-device pci-ohci,id=ohci
-device usb-mouse,bus=ohci.0
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Files
- added
- modified
- copied
- renamed
- deleted
- hw
- pci.h (diff)
- ppc_newworld.c (diff)
- ppc_oldworld.c (diff)
- ppc_prep.c (diff)
- realview.c (diff)
- usb-ohci.c (diff)
- versatilepb.c (diff)