Re: Linux 2.6.22-rc1

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

 



 > > Would it be asking too much to have help texts on the following
 > > new (wrt 2.6.21) configuration options?
 > > 
 > > ESP Scsi Driver Core (SCSI_ESP_CORE) [N/m] (NEW)
 > 
 > This one is a case where the option makes no sense by itself,
 > it provides the core common code for other front-end drivers.
 > 
 > The documentation exists in those front end drivers, which
 > in turn auto-matically select and enable this config option.
 > 
 > It would be nice if there was a Kconfig way to not provide
 > this thing at all unless one of the front-ends got selected
 > but on the otherhand I like how anyone can select it and thus
 > test the build of it :-)

If this is just an internal option that people shouldn't have to deal
with, why have a prompt at all?  AFAIK the following (untested) patch
should do exactly what you want.

FWIW:
Signed-off-by: Roland Dreier <[email protected]>

diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
index e62d23f..5366913 100644
--- a/drivers/scsi/Kconfig
+++ b/drivers/scsi/Kconfig
@@ -1754,7 +1754,7 @@ config SUN3X_ESP
 	  machines.  Say Y here to compile in support for it.
 
 config SCSI_ESP_CORE
-	tristate "ESP Scsi Driver Core"
+	tristate
 	depends on SCSI
 	select SCSI_SPI_ATTRS
 
-
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