Re: USB: set default y for CONFIG_USB_DEVICE_CLASS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2007-05-27 at 18:10 +0200, Jesper Juhl wrote:
> On 27/05/07, Kay Sievers <[email protected]> wrote:
> > From: Kay Sievers <[email protected]>
> > Subject: USB: set default y for CONFIG_USB_DEVICE_CLASS
> >
> > Signed-off-by: Kay Sievers <[email protected]>
> > ---
> >
> > 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux