Messages in this thread | | | From | Benjamin Herrenschmidt <> | Date | Sat, 27 Sep 2003 02:40:10 +0200 | Subject | Re: Prefered method to map PCI memory into userspace. |
| |
> > Albert Cahalan wrote a patch, for 2.6, that makes mmappable all PCI device > memory regions. They show up as files in the appropriate subdirectories > under /proc/bus/pci. See http://lkml.org/lkml/2003/7/13/258 for the > patch and details.
mmap of /proc/bus/pci is a standard thing in 2.4 already and so in 2.6 as well, though not all archs may implement it..
Regarding bus mastering, there's no way to do that without a kernel driver.
Ben.
- 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/
| |