Re: RFC: ipath ioctls and their replacements

From: David S. Miller
Date: Thu Jan 19 2006 - 03:45:23 EST


From: ebiederm@xxxxxxxxxxxx (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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/