All of lore.kernel.org
 help / color / mirror / Atom feed
From: GaLi <g_cavelier@yahoo.fr>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] IDE busmaster DMA support
Date: Fri, 30 Sep 2005 12:15:04 +0200	[thread overview]
Message-ID: <433D1028.4080706@yahoo.fr> (raw)


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 ?

             reply	other threads:[~2005-09-30 10:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-30 10:15 GaLi [this message]
2005-09-30 11:17 ` [Qemu-devel] IDE busmaster DMA support Hetz Ben Hamo
2005-09-30 12:20   ` GaLi
2005-09-30 15:16 ` Lennert Buytenhek
  -- strict thread matches above, loose matches on Subject: below --
2005-09-30 12:04 Juergen Keil
2005-09-30 13:00 ` GaLi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=433D1028.4080706@yahoo.fr \
    --to=g_cavelier@yahoo.fr \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.