On 09/01/2011 07:05 PM, Anthony Liguori wrote:
The challenge is what you do about something like ne2k where the core chipset can either be a PCI device or an ISA device. You would have to implement a wrapper around pci_dma_rw() in order to turn it into cpu_physical_memory_rw when doing ISA.
btw, ISA DMA is very different, no? You program a dma controller to copy memory from the device to RAM (or vice versa); the device never initiates a transaction IIRC.
-- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.