From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ELIT9-0002O6-Jw for qemu-devel@nongnu.org; Fri, 30 Sep 2005 06:50:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ELIT6-0002Kg-4d for qemu-devel@nongnu.org; Fri, 30 Sep 2005 06:50:21 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ELILy-00007V-4h for qemu-devel@nongnu.org; Fri, 30 Sep 2005 06:43:01 -0400 Received: from [62.193.225.58] (helo=WPC0444.AMENWORLD.COM) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1ELHv2-0004TC-36 for qemu-devel@nongnu.org; Fri, 30 Sep 2005 06:15:08 -0400 Message-ID: <433D1028.4080706@yahoo.fr> Date: Fri, 30 Sep 2005 12:15:04 +0200 From: GaLi MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] IDE busmaster DMA support Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 Do I have to init the PCI IDE controller or something ?