Re: USB: set default y for CONFIG_USB_DEVICE_CLASS

From: Kay Sievers
Date: Sun May 27 2007 - 12:20:40 EST


On Sun, 2007-05-27 at 18:10 +0200, Jesper Juhl wrote:
> On 27/05/07, Kay Sievers <kay.sievers@xxxxxxxx> wrote:
> > From: Kay Sievers <kay.sievers@xxxxxxxx>
> > Subject: USB: set default y for CONFIG_USB_DEVICE_CLASS
> >
> > Signed-off-by: Kay Sievers <kay.sievers@xxxxxxxx>
> > ---
> >
> > diff --git a/drivers/usb/core/Kconfig b/drivers/usb/core/Kconfig
> > index f493fb1..346fc03 100644
> > --- a/drivers/usb/core/Kconfig
> > +++ b/drivers/usb/core/Kconfig
> > @@ -40,21 +40,25 @@ config USB_DEVICEFS
> > config USB_DEVICE_CLASS
> > bool "USB device class-devices (DEPRECATED)"
> > depends on USB
> > - default n
> > + default y
>
> It puzzles me why a deprecated option should be default 'Y'...

Because usb_device class devices are kind of broken regarding the event
timing, and should not be used anymore. They are replaced by
device-nodes created by the real usb-device, but some systems still
depend on the class devices:
http://lkml.org/lkml/2007/5/27/56

We better default to y for a while until the users have switched over.

Kay

-
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/