summaryrefslogtreecommitdiffstats
path: root/hw/versatilepb.c
diff options
context:
space:
mode:
authorpbrook2006-05-21 18:30:15 +0200
committerpbrook2006-05-21 18:30:15 +0200
commit0d92ed3022694aa6ec9172938e999871fa04f711 (patch)
tree21a55018bcee0a0bbb8031431ca45b1c87a433b5 /hw/versatilepb.c
parentUse lookup table for PCI class descriptions. (diff)
downloadqemu-0d92ed3022694aa6ec9172938e999871fa04f711.tar.gz
qemu-0d92ed3022694aa6ec9172938e999871fa04f711.tar.xz
qemu-0d92ed3022694aa6ec9172938e999871fa04f711.zip
OHCI USB host emulation.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1928 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/versatilepb.c')
-rw-r--r--hw/versatilepb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/versatilepb.c b/hw/versatilepb.c
index 8a821d42d6..c22e38a96d 100644
--- a/hw/versatilepb.c
+++ b/hw/versatilepb.c
@@ -374,6 +374,9 @@ static void versatile_init(int ram_size, int vga_ram_size, int boot_device,
pci_nic_init(pci_bus, nd);
}
}
+ if (usb_enabled) {
+ usb_ohci_init(pci_bus, 3, -1);
+ }
pl011_init(0x101f1000, pic, 12, serial_hds[0]);
pl011_init(0x101f2000, pic, 13, serial_hds[1]);