]> git.proxmox.com Git - qemu.git/commit - hw/ide/core.c
ide: allow other dma comands than read and write
authorChristoph Hellwig <hch@lst.de>
Thu, 19 May 2011 08:58:09 +0000 (10:58 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 15 Jun 2011 12:36:16 +0000 (14:36 +0200)
commit4e1e00515e2522bbae98a0653ea2692ec20851ac
tree2dac7026a92db73d672d259fd3c125c02a0c5554
parentcb144ccb2ffdb3bca4026455074e434d8db34d73
ide: allow other dma comands than read and write

Replace the is_read flag with a dma_cmd flag to allow the dma and
restart logic to handler other commands like TRIM.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/ide/core.c
hw/ide/internal.h
hw/ide/macio.c
hw/ide/pci.c