public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@kernel.org>
To: Stefan Richter <stefanr@s5r6.in-berlin.de>
Cc: Sam Ravnborg <sam@ravnborg.org>,
	James Bottomley <james.bottomley@steeleye.com>,
	linux-scsi@vger.kernel.org, Jeff Garzik <jeff@garzik.org>,
	Andi Kleen <andi@firstfloor.org>,
	Folkert van Heusden <folkert@vanheusden.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [RFC PATCH] SCSI: split Kconfig menu into two
Date: Sat, 15 Sep 2007 16:43:41 +0200	[thread overview]
Message-ID: <20070915144341.GT3563@stusta.de> (raw)
In-Reply-To: <46EBE821.2080300@s5r6.in-berlin.de>

On Sat, Sep 15, 2007 at 04:11:45PM +0200, Stefan Richter wrote:
> Adrian Bunk wrote:
> > On Sat, Sep 15, 2007 at 03:20:06PM +0200, Stefan Richter wrote:
> >> It still doesn't entirely clarify whether users need sd, sr, st, and
> >> whether thy need sd for the disk with root filesystem.
> > 
> > If you want to do it in a really perfect way, help texts aren't the 
> > solution. You'll have to make the options like CONFIG_BLK_DEV_SR no 
> > longer be user visible and select'ed through dummy options like e.g.:
> ...
> > 	tristate "USB Mass Storage hard disk support"
> > 	depends on USB_STORAGE
> > 	select BLK_DEV_SD
> ...
> >         tristate "USB Mass Storage CD/DVD support"
> >         depends on USB_STORAGE
> > 	select BLK_DEV_SR
> ...
> 
> Perfect is in the eye of the beholder.  You would consequently have to
> add such options into all menus which contain scsi low-level providers.

Kconfig is a user interface, so perfect is what is best for the
kconfig users.

> Also, one more question on whether CONFIG_SCSI ought to be 'select'ed:
> Where do scsi-core options like CONFIG_SCSI_CONSTANTS go?

The first question is whether it's for actual SCSI hardware [1] or for 
the block layer functionality which the SCSI subsystem has become.
The mixture of these two is the root of much user confusion.

With the help text "The error messages regarding your SCSI hardware will 
be easier to understand if you say Y here" a user wouldn't have expected 
to see you using it in a firewire driver. But unless I miss anything, 
the setting of SCSI_SCAN_ASYNC does only affect "real" SCSI hardware.

If you check each option and place it either in the generic storage menu 
or the SCSI lowlevel menu this would fix much possible user confusion.

But these are relatively unimportant options compared to e.g.
USB_STORAGE=y, BLK_DEV_SD=n, which is a misconfiguration many
users run into, so having one menu somewhere with these advanced 
options should be enough.

> Stefan Richter

cu
Adrian

[1] SCSI as in "sold as SCSI"

-- 

       "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


  reply	other threads:[~2007-09-15 14:43 UTC|newest]

Thread overview: 88+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-07 12:48 sata & scsi suggestion for make menuconfig Folkert van Heusden
2007-09-07 14:40 ` Jan Engelhardt
2007-09-07 14:58   ` Folkert van Heusden
2007-09-07 19:38     ` Krzysztof Halasa
2007-09-07 23:02       ` Jan Engelhardt
2007-09-08  7:27         ` Jan Engelhardt
2007-09-07 15:35 ` Randy Dunlap
2007-09-07 15:59   ` Folkert van Heusden
2007-09-07 16:21     ` Stefan Richter
2007-09-07 23:05       ` Folkert van Heusden
2007-09-08  7:05         ` Stefan Richter
2007-09-08  7:29           ` Jan Engelhardt
2007-09-08  7:56             ` Stefan Richter
2007-09-08 16:31           ` Randy Dunlap
2007-09-08 16:44             ` Stefan Richter
2007-09-08 16:48               ` Randy Dunlap
2007-09-08 19:45                 ` Stefan Richter
2007-09-08  8:43   ` Sam Ravnborg
2007-09-13  8:50   ` Helge Hafting
2007-09-14 16:42     ` Goswin von Brederlow
2007-09-14 18:44       ` Stefan Richter
2007-09-08 16:07 ` Andi Kleen
2007-09-08 16:50   ` Randy Dunlap
2007-09-08 16:53     ` Matthew Wilcox
2007-09-08 18:13     ` Andi Kleen
2007-09-08 18:30       ` Stefan Richter
2007-09-08 19:14         ` Andi Kleen
2007-09-08 19:32           ` Stefan Richter
2007-09-09 21:00   ` James Bottomley
2007-09-09 21:03     ` Andi Kleen
2007-09-09 21:11       ` Jeff Garzik
2007-09-09 21:22         ` Andi Kleen
2007-09-09 21:39           ` James Bottomley
2007-09-10  6:38             ` Stefan Richter
2007-09-10 12:43               ` Rene Herman
2007-09-11 20:16           ` Bauke Jan Douma
2007-09-12 22:46         ` Adrian Bunk
2007-09-14 14:54           ` Stefan Richter
2007-09-14 15:15             ` Adrian Bunk
2007-09-14 15:37               ` Stefan Richter
2007-09-14 16:01                 ` [PATCH] SCSI: update Kconfig help text to indicate SCSI core's widespread usage Stefan Richter
2007-09-14 16:29                   ` Jeff Garzik
2007-09-14 18:02                   ` [RFC PATCH] SCSI: split Kconfig menu into two Stefan Richter
2007-09-14 18:04                     ` [PATCH] SCSI: trailing whitespace in Kconfig Stefan Richter
2007-09-14 19:00                     ` [RFC PATCH] SCSI: split Kconfig menu into two Sam Ravnborg
2007-09-14 19:06                       ` Adrian Bunk
2007-09-14 20:01                         ` Stefan Richter
2007-09-15 11:40                           ` Adrian Bunk
2007-09-15 12:24                             ` Stefan Richter
2007-09-15 12:50                               ` Adrian Bunk
2007-09-15 13:20                                 ` Stefan Richter
2007-09-15 13:53                                   ` Adrian Bunk
2007-09-15 14:11                                     ` Stefan Richter
2007-09-15 14:43                                       ` Adrian Bunk [this message]
2007-09-15 15:27                                         ` Stefan Richter
2007-09-15 15:44                                           ` Jeff Garzik
2007-09-15 16:23                                             ` Adrian Bunk
2007-09-15 16:52                                               ` Bartlomiej Zolnierkiewicz
2007-09-15 19:17                                                 ` Jeff Garzik
2007-09-15 20:54                                                   ` Bartlomiej Zolnierkiewicz
2007-09-16 20:12                                               ` Greg KH
2007-09-15 16:42                                           ` Adrian Bunk
2007-09-17 11:29                               ` Maciej W. Rozycki
2007-09-17 14:46                                 ` Stefan Richter
2007-09-14 20:20                     ` Stefan Richter
2007-09-14 21:22                       ` [PATCH update] " Stefan Richter
2007-09-14 18:54                   ` [PATCH] SCSI: update Kconfig help text to indicate SCSI core's widespread usage Lennart Sorensen
2007-09-14 20:14                     ` Stefan Richter
2007-09-14 20:21                       ` Lennart Sorensen
2007-09-14 21:06                         ` Stefan Richter
2007-09-14 21:11                           ` Lennart Sorensen
2007-09-14 21:14                           ` [PATCH update] " Stefan Richter
2007-09-14 22:02                             ` FUJITA Tomonori
2007-09-15  6:16                               ` Stefan Richter
2007-09-15 10:52                                 ` FUJITA Tomonori
2007-09-15 12:30                                   ` Stefan Richter
2007-09-15 12:53                                     ` FUJITA Tomonori
2007-09-15 12:59                             ` Adrian Bunk
2007-09-15 13:19                               ` Stefan Richter
2007-09-14 16:16                 ` sata & scsi suggestion for make menuconfig Adrian Bunk
2007-09-14 16:50                   ` Stefan Richter
2007-09-15  8:04               ` Paul Rolland
2007-09-15  8:25                 ` Stefan Richter
2007-09-15 13:00                   ` Paul Rolland
2007-09-15 15:50                     ` x86_64 usability bug: Kconfig prompt without help text (was Re: sata & scsi suggestion for make menuconfig) Stefan Richter
2007-09-15 16:21                       ` Andi Kleen
2007-09-15 17:13                         ` [PATCH] x86_64: configure HPET_EMULATE_RTC automatically Stefan Richter
2007-09-15 18:23                 ` sata & scsi suggestion for make menuconfig david

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070915144341.GT3563@stusta.de \
    --to=bunk@kernel.org \
    --cc=andi@firstfloor.org \
    --cc=folkert@vanheusden.com \
    --cc=james.bottomley@steeleye.com \
    --cc=jeff@garzik.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=sam@ravnborg.org \
    --cc=stefanr@s5r6.in-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox