Re: RFC: ipath ioctls and their replacements
- From: "David S. Miller" <davem@xxxxxxxxxxxxx>
- Date: Thu, 19 Jan 2006 00:39:30 -0800 (PST)
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/
- References:
- RFC: ipath ioctls and their replacements
- From: Bryan O'Sullivan
- Re: RFC: ipath ioctls and their replacements
- From: Eric W. Biederman
- RFC: ipath ioctls and their replacements
- Prev by Date: Out of Memory: Killed process 16498 (java).
- Next by Date: Re: Out of Memory: Killed process 16498 (java).
- Previous by thread: Re: RFC: ipath ioctls and their replacements
- Next by thread: Re: RFC: ipath ioctls and their replacements
- Index(es):
Relevant Pages
|