Re: /proc/bus/pci

From: David S. Miller (davem@redhat.com)
Date: Thu Jun 05 2003 - 07:16:07 EST


   From: Albert Cahalan <albert@users.sourceforge.net>
   Date: Thu, 05 Jun 2003 08:05:59 -0400
   
   To make this clear, mmap() on bar0 would get you
   a mapping of that BAR.
   
We have a way to portably mmap() PCI devices using just the device
node.

If you make this new method, you might have to define a whole
new set of arch level support hooks.

What I'm saying is, we should reuse all of this code we have
to support mmap()'ing PCI devices properly now (via procfs
device node files).
-
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/



This archive was generated by hypermail 2b29 : Sat Jun 07 2003 - 22:00:27 EST