hpa@zytor.com said:
> > 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.
> You can't do it. Reserve kernel memory instead and provide an mmap()
> interface for your device.
I do it quite happily for PCI framegrabber cards which don't have onboard
framestore - they can only BM-DMA from a FIFO of incoming data from the
camera.
See sct's raw-io patches if you're on 2.2, or include/linux/iobuf.h if
you're on 2.[34].
ftp://ftp.uk.linux.org/pub/linux/sct/fs/raw-io/
-- dwmw2- 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:30 EST