From e3007e6677fd5723dac5a10033319aa0f8dfaf64 Mon Sep 17 00:00:00 2001 From: aurel32 Date: Fri, 30 Jan 2009 20:39:41 +0000 Subject: PowerPC: IDE DB-DMA support This patches allows powermac IDE interface to use DB-DMA. This implementation uses only synchronous I/O. Signed-off-by: Laurent Vivier Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6489 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/ppc_chrp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hw/ppc_chrp.c') diff --git a/hw/ppc_chrp.c b/hw/ppc_chrp.c index e28819defd..a4da33eaf8 100644 --- a/hw/ppc_chrp.c +++ b/hw/ppc_chrp.c @@ -284,8 +284,8 @@ static void ppc_core99_init (ram_addr_t ram_size, int vga_ram_size, } dbdma = DBDMA_init(&dbdma_mem_index); #if 1 - ide_mem_index[0] = pmac_ide_init(&hd[0], pic[0x13]); - ide_mem_index[1] = pmac_ide_init(&hd[2], pic[0x14]); + ide_mem_index[0] = pmac_ide_init(&hd[0], pic[0x13], dbdma, 0x14, pic[0x01]); + ide_mem_index[1] = pmac_ide_init(&hd[2], pic[0x14], dbdma, 0x16, pic[0x02]); #else pci_cmd646_ide_init(pci_bus, &hd[0], 0); #endif -- cgit v1.2.3