[parisc-linux] enumerating devices from user space
Lyonel Vincent
vincentl@ec-lyon.fr
Mon, 17 Mar 2003 14:53:27 +0100
Hi Grant,
sounds very good to me (and way cleaner)...
I'll be happy to try to help.
cheers,
lv.
On Fri, Mar 14, 2003 at 10:29:24AM -0700, Grant Grundler wrote:
> On Fri, Mar 14, 2003 at 02:08:48PM +0000, Matthew Wilcox wrote:
> > On Fri, Mar 14, 2003 at 03:05:49PM +0100, Lyonel Vincent wrote:
> > > okokok I won't argue then.
> > > I would have liked to have ioscan-like support, but anyway...
> >
> > Well, you can have it in 2.5; start looking at sysfs.
>
> willy and I talked offline and it seems like the right
> answer is to backport _the user interface_ - ie something
> that *looks* like sysfs but could be based on /proc.
>
> I'd basically like to see all resources in struct parisc_device
> exported using the same name as the field - matching sysfs field
> names use for PCI where appropriate. Willy suggested id be broken
> out into it's struct parisc_device_id parts and provided
> directly has hex strings (eg hw_type entry could contain "0x5").
> Details of how sysfs currently looks are still changing - don't get
> hung up in the current details.
>
> grant
--
The software said it requires Windows 2000 or better, so I installed Linux.