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 14:50:55 +0200 [thread overview]
Message-ID: <20070915125055.GQ3563@stusta.de> (raw)
In-Reply-To: <46EBCEF1.4030702@s5r6.in-berlin.de>
On Sat, Sep 15, 2007 at 02:24:17PM +0200, Stefan Richter wrote:
> Adrian Bunk wrote:
>...
> >> # drivers/Kconfig
> >>
> >> +source "drivers/scsi/Kconfig"
> >> +
> >> menu "Device Drivers"
> >>
> >> source "drivers/base/Kconfig"
> >> @@ -22,7 +24,7 @@ source "drivers/misc/Kconfig"
> >>
> >> source "drivers/ide/Kconfig"
> >>
> >> -source "drivers/scsi/Kconfig"
> >> +source "drivers/scsi/Kconfig.lowlevel"
> >>
> >> source "drivers/ata/Kconfig"
> >> ...
> >
> > This way the order is wrong:
> >
> > There should first be the lowlevel SCSI, SATA, USB etc. drivers, these
> > drivers should select CONFIG_SCSI, and then the menu offering support
> > for disk, CD,...
>
> The order was inspired by
>
> # the protocols etc.
> "Networking"
>
> # the interconnects
> "Device Drivers"/ "Network device support"
>
> So that order is wrong too?
It's different since _all_ network device drivers require networking
support.
> However, there is also precedence for the order which you suggest: The
> partition and filesystems options come after device driver options.
>
> [...]
> >> +menu "Storage (core and SCSI commands)"
> >>
> >> config SCSI
> >> - tristate "SCSI device support"
> >> + tristate "Storage support (core and SCSI commands)"
> >> depends on BLOCK
> >> select SCSI_DMA if HAS_DMA
> >> ---help---
> >> ...
> >
> > What is "storage support"?
> > SATA?
> > PATA?
> > USB mass storage?
> > MMC?
> > MTD?
>
> What is "Networking"? Ethernet? Infiniband? ...?
Different to CONFIG_SCSI, CONFIG_NET=n is so exotic that we should
change it to no longer show users the question unless CONFIG_EMBEDDED=y.
> > Whether or not a driver uses the SCSI layer is an implementation detail
> > (it even differs for the two USB mass storage implementations and the
> > two PATA implementations in the kernel) the user shouldn't have to know
> > about.
> >
> > I don't see any reason why CONFIG_SCSI should have to stay user-visible
> > at all after your patch.
>
> Vice versa, I don't see any reason for "select SCSI" anywhere after my
> patch.
If users who don't need it now enable CONFIG_SCSI (and drivers/ide/
usage is not that uncommon) that's a regression in the user interface.
If the lowlevel SCSI drivers move into a separate menu as your patch
does, we simply no longer have any good reason for bothering the user
with the CONFIG_SCSI.
> Stefan Richter
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
next prev parent reply other threads:[~2007-09-15 12:51 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 [this message]
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
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=20070915125055.GQ3563@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