Correct types in bmdma_addr_{read,write}
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 11 Jan 2012 19:46:24 +0000 (19:46 +0000)
committerAlexander Graf <agraf@suse.de>
Sat, 21 Jan 2012 04:17:01 +0000 (05:17 +0100)
commit964455f39ed540e5968ec3000a3fb3d8fb20823c
tree85bbc4ccca4afd84ee4ab2d9c245eee0f04d708b
parent033276a7d1701c98bb478341c13d2e1c6692b688
Correct types in bmdma_addr_{read,write}

Back when I made patches introducing dma_addr_t and various PCI DMA
wrapper functions, I made a mistake.  The bmdma_addr_{read,write} functions
need to take target_phys_addr_t not dma_addr_t, since they are assigned
to MemoryRegionOps callbacks.

This patch corrects my error.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ide/pci.c