mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Steven J. Magnani" <steve@digidescorp.com>
To: Robert Hancock <hancockrwd@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: CPU Initiated DMA
Date: Mon, 10 Jan 2011 07:44:45 -0600	[thread overview]
Message-ID: <1294667085.3139.3.camel@iscandar.digidescorp.com> (raw)
In-Reply-To: <4D28A9EF.3050400@gmail.com>

On Sat, 2011-01-08 at 12:16 -0600, Robert Hancock wrote:
> On 01/07/2011 02:55 PM, Nikolaus Rath wrote:
> > Hello,
> >
> > I want to write a driver for a rather dumb PCI card, which cannot become
> > bus master itself. Is it possible to use a DMA controller on the
> > mainboard to still transfer data to the card without occupying the CPU?
> >
> > (I believe this is the way DMA used to work on ISA cards, but do recent
> > x86 systems still have a DMA controller for the CPU?)
> 
> The legacy ISA DMA controller worked like that, but you can't use that 
> with PCI devices. Essentially there is no way to do this, barring 
> perhaps some wierd platform specific feature.

I believe a DMA Engine would work here - platform-specific, yes, but I
wouldn't call it "wierd"  :)

See Documentation/dmaengine.txt.

Regards,
------------------------------------------------------------------------
 Steven J. Magnani               "I claim this network for MARS!
 www.digidescorp.com              Earthling, return my space modulator!"

 #include <standard.disclaimer>




  reply	other threads:[~2011-01-10 13:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-07 20:55 Nikolaus Rath
2011-01-08 18:16 ` Robert Hancock
2011-01-10 13:44   ` Steven J. Magnani [this message]
2011-01-10 14:21 ` Ming Lei
2011-01-10 17:08   ` Nikolaus Rath

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=1294667085.3139.3.camel@iscandar.digidescorp.com \
    --to=steve@digidescorp.com \
    --cc=hancockrwd@gmail.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

all inboxes | Powered by JetHome®