All of lore.kernel.org
 help / color / mirror / Atom feed
From: Norbert Roos <n.roos@berlin.de>
To: Jeff Garzik <jgarzik@mandrakesoft.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Probs with PCI bus master DMA to user space
Date: Tue, 20 Feb 2001 17:50:57 +0100	[thread overview]
Message-ID: <3A92A071.8D7906C8@berlin.de> (raw)
In-Reply-To: <Pine.LNX.3.96.1010220084656.23246Q-100000@mandrakesoft.mandrakesoft.com>

Jeff Garzik wrote:
> 
> On Tue, 20 Feb 2001, Norbert Roos wrote:
> 
> > Jeff Garzik wrote:
> >
> > > > But the buffers are usually allocated with malloc() by any application
> > > > which wants to use my driver.. otherwise my driver would have to offer a

> 
> fd = open(...);
> buf = mmap(fd, ...);
> fill_buffer_with_data(buf);
> ioctl(fd, ...); /* tell kernel data is there */
> 

Hm hm - this is exactly what i wanted to avoid: The application should
not
be modified only to be able to use my driver - and if it is using
malloc(), it would have to be modified..

Thanks anyway!

Norbert

  reply	other threads:[~2001-02-20 16:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-20 13:31 Probs with PCI bus master DMA to user space Norbert Roos
2001-02-20 13:37 ` Jeff Garzik
2001-02-20 14:10   ` Norbert Roos
2001-02-20 14:49     ` Jeff Garzik
2001-02-20 16:50       ` Norbert Roos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-02-20 10:57 Norbert Roos
2001-02-20 12:37 ` Alan Cox
2001-02-20 17:03 ` David Woodhouse

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=3A92A071.8D7906C8@berlin.de \
    --to=n.roos@berlin.de \
    --cc=jgarzik@mandrakesoft.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 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.