diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-05-21 16:30:15 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-05-21 16:30:15 +0000 |
commit | 0d92ed3022694aa6ec9172938e999871fa04f711 (patch) | |
tree | 21a55018bcee0a0bbb8031431ca45b1c87a433b5 /hw/ppc_prep.c | |
parent | 6650ee6d3365d7f246cd7a6523c15fb542fc6032 (diff) |
OHCI USB host emulation.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1928 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/ppc_prep.c')
-rw-r--r-- | hw/ppc_prep.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/ppc_prep.c b/hw/ppc_prep.c index 9df430775d..a4d7ddfe7e 100644 --- a/hw/ppc_prep.c +++ b/hw/ppc_prep.c @@ -665,6 +665,10 @@ static void ppc_prep_init(int ram_size, int vga_ram_size, int boot_device, cpu_register_physical_memory(0xFEFF0000, 0x1000, PPC_io_memory); #endif + if (usb_enabled) { + usb_ohci_init(pci_bus, 3, -1); + } + nvram = m48t59_init(8, 0, 0x0074, NVRAM_SIZE, 59); if (nvram == NULL) return; |