[Qemu-devel] IDE busmaster DMA support

From:

GaLi

Subject:

[Qemu-devel] IDE busmaster DMA support

Date:

Fri, 30 Sep 2005 12:15:04 +0200

User-agent:

Mozilla Thunderbird 1.0.6 (X11/20050716)

Hi,
I'm trying to write an IDE driver with busmaster DMA support.
My problem is that I can't get the right controller registers addresses.
In the IDE BusMaster DMA specification :
"The control registers for the controller are allocated via the
devices Base Address register at offset 0x20 in PCI configuration
space."

If I read the word at offset 0x20 in the PCI configuration space, I get
0xc001. But if I boot qemu with a linux live-cd, it tells me that BM-DMA
is at 0xc000