[openib-general] Re: RFC: ipath ioctls and their replacements

David S. Miller davem at davemloft.net
Thu Jan 19 00:39:30 PST 2006


From: ebiederm at xmission.com (Eric W. Biederman)
Date: Thu, 19 Jan 2006 01:25:39 -0700

> mmap(/dev/mem)
> There is also an interface in /proc or /sys I forget which
> that let's you select the individual bar for a pci device.
> You don't need to do anything, in your driver to support this.

Yes, please use /proc/bus/pci/* device file mmap()s or even
better the PCI ones under /sys work too.

I think libpci even has some help for this.



More information about the general mailing list