Re: PCI DMA into USER space

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Wed Jun 14 2000 - 06:09:28 EST


"Richard B. Johnson" wrote:
> On Tue, 13 Jun 2000, Mayhall, Tony wrote:
> > Does anyone have an example (that works) of how to DMA from a PCI card into
> > user space on a PC running Linux? We do this on Unix systems and need to be
> > able to do this under Linux.

> Hmm. From what Unix Systems? Suns don't have 'ports'. All memory-mapped
> I/O. The PCI spec was designed around shared memory. Once you got shared
> memory, all you have to do is mmap it. No DMA required.

DMA is generally faster though since it doesn't have to involve the host
CPU when slinging data around..

        Jeff

-- 
Jeff Garzik              | Liberty is always dangerous, but
Building 1024            | it is the safest thing we have.
MandrakeSoft, Inc.       |      -- Harry Emerson Fosdick

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:31 EST