Re: Probs with PCI bus master DMA to user space

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 20 Feb 2001 12:37:21 +0000 (GMT)


> I'm currently writing a driver which wants to transfer data between main
> memory and a PCI device. The data buffers are allocated by the program
> which uses the driver and therefore lie in the user space. Pointers to

Allocate the buffers in the kernel and mmap() them into user space
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/