Re: the userspace side of driverfs

From: Nicholas Miell (nmiell@attbi.com)
Date: Tue Sep 10 2002 - 23:52:53 EST


On Tue, 2002-09-10 at 21:38, Patrick Mochel wrote:
>
> On 10 Sep 2002, Nicholas Miell wrote:
>
> > - The "resource" files export resource structs, however the flags member
> > of the struct uses bits that aren't exported by the kernel and are
> > likely to change in the future. Also, some of the flags bits are
> > reserved for use by the bus that the resource lives on, but the bus type
> > isn't specified by the resource file, which requires the app to parse
> > the path name in order to figure out which bus the resource refers to.
>
> The flags bit is a good point, and should probably be removed.
>

You need the flags, otherwise you can't distinguish dma/irq/mmio/ports.
The other flag bits are interesting, too.

 
- Nicholas

-
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 : Sun Sep 15 2002 - 22:00:23 EST