Re: PCI DMA into USER space

From: H. Peter Anvin (hpa@zytor.com)
Date: Tue Jun 13 2000 - 16:41:54 EST


Followup to: <9D68F0359949D211891900C00D002ABC5D209C@hwilms.rdec.redstone.army.mil>
By author: "Mayhall, Tony" <Anthony.J.Mayhall@hwilms.rdec.redstone.army.mil>
In newsgroup: linux.dev.kernel
>
> 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.
>
> Thanks for any input you can give,
>

You can't do it. Reserve kernel memory instead and provide an mmap()
interface for your device.

        -hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt

- 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:29 EST