lkml.org 
[lkml]   [2008]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/5] USB Kconfig: Select SCSI for USB Mass Storage support
On Sat, Jan 05, 2008 at 11:03:30PM +0200, Adrian Bunk wrote:
> On Sat, Jan 05, 2008 at 11:30:24AM -0800, Randy Dunlap wrote:
> > On Sat, 5 Jan 2008 18:41:39 +0300 Al Boldi wrote:
> >
> > >
> > > Select SCSI for USB Mass Storage support.
> > >
> > >
> > > Cc: David Brownell <david-b@pacbell.net>
> > > Cc: Greg KH <greg@kroah.com>
> > > Cc: Andrew Morton <akpm@linux-foundation.org>
> > > Signed-off-by: Al Boldi <a1426z@gawab.com>
> > >
> > > ---
> > >
> > > --- 23.a/drivers/usb/storage/Kconfig
> > > +++ 23.b/drivers/usb/storage/Kconfig
> > > @@ -2,14 +2,10 @@
> > > # USB Storage driver configuration
> > > #
> > >
> > > -comment "NOTE: USB_STORAGE needs SCSI, and 'SCSI disk support' may"
> > > - depends on USB
> > > -comment "also be needed; see USB_STORAGE Help for more information"
> > > - depends on USB
> > > -
> > > menuconfig USB_STORAGE
> > > tristate "USB Mass Storage support"
> > > - depends on USB && SCSI
> > > + depends on USB
> > > + select SCSI
> >
> > We try not to use 'select' on subsystems and try to limit its use
> > to library-like code that is relatively small. Selecting SCSI
> > breaks both of those efforts.
> >...
>
> _You_ are trying to do this.
>
> For kconfig users, "select" is _much_ better than sending them through
> different menus.
Only if used within the current limitations of Kconfig.
And that requires you to use select only to select symbols with
no dependencies.

In this case we do not know if BLOCK is enabled or not.

Sam


\
 
 \ /
  Last update: 2008-01-05 22:13    [W:0.118 / U:0.756 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site