public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Tommy Reynolds <Tommy.Reynolds@MegaCoder.com>
To: linux-kernel@vger.kernel.org
Subject: Re: ISA DMA
Date: Wed, 8 Sep 2004 17:54:31 -0500	[thread overview]
Message-ID: <20040908175431.5872dda0.Tommy.Reynolds@MegaCoder.com> (raw)
In-Reply-To: <413F7960.8070500@drzeus.cx>

[-- Attachment #1: Type: text/plain, Size: 447 bytes --]

Uttered Pierre Ossman <drzeus-list@drzeus.cx>, spake thus:

> I've been trying to figure out how other drivers do it but I can't see 
> what I'm missing. And the documentation doesn't cover ISA DMA.

Allocate your DMA buffer area by OR'ing in the "GFP_DMA" flag.  This
keeps your DMA buffer below the magical 16MB limit.  Also be sure to
use "virt_to_bus()" to convert the kernel buffer address into one
that you can give to the DMA engine.

HTH.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

      parent reply	other threads:[~2004-09-08 22:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-08 21:28 ISA DMA Pierre Ossman
2004-09-08 22:27 ` Alan Cox
2004-09-09 15:14   ` Pierre Ossman
2004-09-08 22:54 ` Tommy Reynolds [this message]

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=20040908175431.5872dda0.Tommy.Reynolds@MegaCoder.com \
    --to=tommy.reynolds@megacoder.com \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox