summaryrefslogtreecommitdiff
path: root/docs/ich9-ehci-uhci.cfg
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2011-07-05 16:58:41 +0200
committerGerd Hoffmann <kraxel@redhat.com>2011-07-08 11:25:56 +0200
commit76f30473da752ee8448e80dfd1e050cedd482b6c (patch)
tree341b7dd36527fe56f379cf0be9c6fab9b0a19c8f /docs/ich9-ehci-uhci.cfg
parent3028376ea0239e3820842bb596b21822e2373e9d (diff)
downloadqemu-76f30473da752ee8448e80dfd1e050cedd482b6c.tar.gz
usb: update documentation
Add a paragraph on companion controller mode and a configuration file which sets it all up for you. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'docs/ich9-ehci-uhci.cfg')
-rw-r--r--docs/ich9-ehci-uhci.cfg37
1 files changed, 37 insertions, 0 deletions
diff --git a/docs/ich9-ehci-uhci.cfg b/docs/ich9-ehci-uhci.cfg
new file mode 100644
index 0000000000..a0e9b96f4d
--- /dev/null
+++ b/docs/ich9-ehci-uhci.cfg
@@ -0,0 +1,37 @@
+###########################################################################
+#
+# You can pass this file directly to qemu using the -readconfig
+# command line switch.
+#
+# This config file creates a EHCI adapter with companion UHCI
+# controllers as multifunction device in PCI slot "1d".
+#
+# Specify "bus=ehci.0" when creating usb devices to hook them up
+# there.
+#
+
+[device "ehci"]
+ driver = "ich9-usb-ehci1"
+ addr = "1d.7"
+ multifunction = "on"
+
+[device "uhci-1"]
+ driver = "ich9-usb-uhci1"
+ addr = "1d.0"
+ multifunction = "on"
+ masterbus = "ehci.0"
+ firstport = "0"
+
+[device "uhci-2"]
+ driver = "ich9-usb-uhci2"
+ addr = "1d.1"
+ multifunction = "on"
+ masterbus = "ehci.0"
+ firstport = "2"
+
+[device "uhci-3"]
+ driver = "ich9-usb-uhci3"
+ addr = "1d.2"
+ multifunction = "on"
+ masterbus = "ehci.0"
+ firstport = "4"