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

From: Greg KH
Date: Mon May 18 2009 - 10:34:25 EST


On Fri, May 15, 2009 at 09:58:56PM +0200, Pavel Machek 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...

That's up to the individual misc driver authors. Lots of them use the
dynamic option, so it's not like we can just ignore this very common
feature.

thanks,

greg k-h
--
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/