]> git.proxmox.com Git - qemu.git/commit - hw/sparc32_dma.c
ESP: fix ESP DMA access when DMA is not enabled
authorBlue Swirl <blauwirbel@gmail.com>
Sat, 11 Sep 2010 16:38:33 +0000 (16:38 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 11 Sep 2010 16:38:33 +0000 (16:38 +0000)
commit73d7434279e390505164afd02360eebe4b43c7fa
tree309f298ec1dcba9be54fb0604a92811cc3095dbe
parent24e0e38b83616ee7b540a270d8c4f24edf94f802
ESP: fix ESP DMA access when DMA is not enabled

Sending ESP a command caused it to trigger DMA immediately
even if DMA was not enabled at the DMA controller.

Add a signal from DMA controller to ESP to tell ESP about changes in
DMA enable bit. Also use the correct function for setting up GPIO outputs.

This fixes NetBSD 1.6.1 through 3.0 boot.

Thanks to Artyom Tarasenko for extensive debugging of the problem.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/esp.c
hw/esp.h
hw/mips_jazz.c
hw/sparc32_dma.c
hw/sun4m.c