Re: [PATCH 2/5] USB Kconfig: Select SCSI for USB Mass Storage support
- From: Adrian Bunk <bunk@xxxxxxxxxx>
- Date: Sat, 5 Jan 2008 23:03:30 +0200
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@xxxxxxxxxxx>
Cc: Greg KH <greg@xxxxxxxxx>
Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Al Boldi <a1426z@xxxxxxxxx>
---
--- 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.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
--
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/
- Follow-Ups:
- Re: [PATCH 2/5] USB Kconfig: Select SCSI for USB Mass Storage support
- From: Sam Ravnborg
- Re: [PATCH 2/5] USB Kconfig: Select SCSI for USB Mass Storage support
- References:
- Re: [PATCH 2/5] USB Kconfig: Select SCSI for USB Mass Storage support
- From: Al Boldi
- Re: [PATCH 2/5] USB Kconfig: Select SCSI for USB Mass Storage support
- From: Randy Dunlap
- Re: [PATCH 2/5] USB Kconfig: Select SCSI for USB Mass Storage support
- Prev by Date: Re: [ANNOUNCE] util-linux-ng 2.13.1-rc2
- Next by Date: Top 10 kernel oopses for the week ending January 5th, 2008
- Previous by thread: Re: [PATCH 2/5] USB Kconfig: Select SCSI for USB Mass Storage support
- Next by thread: Re: [PATCH 2/5] USB Kconfig: Select SCSI for USB Mass Storage support
- Index(es):
Relevant Pages
|