]> git.proxmox.com Git - qemu.git/commit - hw/ide/core.c
ide: Factor ide_dma_set_inactive out
authorKevin Wolf <kwolf@redhat.com>
Fri, 26 Nov 2010 15:31:37 +0000 (16:31 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 29 Nov 2010 15:15:01 +0000 (16:15 +0100)
commit8337606d3588f80aea656db74127423bd6b61443
tree6e833d965a1af1d524229f4375a649298e7764ae
parent11a3cb8159278f7452b5bec8b9e17292a3ef53c3
ide: Factor ide_dma_set_inactive out

Several places that stop a DMA transfer duplicate this code. Factor it out into
a common function.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
hw/ide/core.c