Re: [patch 02/13] Driver Core: misc: add nodename support for miscdevices.

From: Alan Cox
Date: Mon May 18 2009 - 16:27:23 EST


On Fri, 15 May 2009 21:58:56 +0200
Pavel Machek <pavel@xxxxxx> wrote:

> On Sat 2009-05-09 07:26:03, Greg KH wrote:
> > From: Kay Sievers <kay.sievers@xxxxxxxx>
> >
> > This adds support for misc devices to report their requested nodename to
> > userspace. It also updates a number of misc drivers to provide the
> > needed subdirectory and device name to be used for them.
> >
> > Signed-off-by: Kay Sievers <kay.sievers@xxxxxxxx>
> > Signed-off-by: Jan Blunck <jblunck@xxxxxxx>
> > Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
>
> Maybe it would be better to assign stable minor/major numbers to those
> devices instead? minor/major number space is pretty big these days...

More to the point we already have /proc/misc
--
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/