Re: [RFC] Device class rework [0/5]

From: Greg KH (greg@kroah.com)
Date: Tue Apr 22 2003 - 20:54:54 EST


On Tue, Apr 22, 2003 at 05:59:43PM -0700, Hanna Linder wrote:
> --On Tuesday, April 22, 2003 01:55:45 PM -0700 Greg KH <greg@kroah.com> wrote:
>
> > Here's a set of patches that rework the current class support in the
> > kernel today into something that works a bit better, and is simpler to
> > use.
>
> I did a quick sanity test of these patches on a 2-way PIII.
> It built and booted fine for me. I don't have any devices that
> span multiple classes but the patch hasnt changed any of my
> existing /sys/class output.

Hm, are you sure you applied them and are using that kernel? :)

/sys/class should look something like this:

$ tree /sys/class/
/sys/class/
|-- cpu
| `-- cpu0
| |-- device -> ../../../devices/sys/cpu0
| `-- foo
|-- input
`-- tty
    |-- console0
    | `-- dev
    |-- ptmx0
    | `-- dev
    |-- pts0
    | `-- dev
    |-- pts1
    | `-- dev
    |-- pts2
    | `-- dev
    |-- pts3
    | `-- dev
    |-- pts4
    | `-- dev
    |-- pts5
    | `-- dev
    |-- pts6
    | `-- dev
    |-- pts7
    | `-- dev
    |-- pty0
    | `-- dev
    |-- pty1
    | `-- dev
... and so on...

thanks,

greg k-h
-
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 : Wed Apr 23 2003 - 22:00:35 EST