PCI IDE: Use PCI DMA stub functions
authorDavid Gibson <david@gibson.dropbear.id.au>
Mon, 31 Oct 2011 06:06:56 +0000 (17:06 +1100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 1 Nov 2011 21:52:07 +0000 (16:52 -0500)
commit085ccec5bb433d5643d73a903c4c00e6565c20c3
treee6e9375db107a63a2dd4d3da91ecefe8b6536850
parentfea23e2baf31081bbe94ed92954ac6e926c1e2ce
PCI IDE: Use PCI DMA stub functions

This updates the PCI IDE device emulation to use the explicit PCI DMA
wrapper to initialize its scatter/gathjer structure.  This means this
driver should not need further changes when the sglist interface is
extended to support IOMMUs.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/ide/pci.c