From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: Adrian Bunk <bunk@kernel.org>
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:24:17 +0200 [thread overview]
Message-ID: <46EBCEF1.4030702@s5r6.in-berlin.de> (raw)
In-Reply-To: <20070915114055.GP3563@stusta.de>
Adrian Bunk wrote:
> On Fri, Sep 14, 2007 at 10:01:18PM +0200, Stefan Richter wrote:
>> drivers/Kconfig | 4
>> drivers/scsi/Kconfig | 1589 ----------------------------------
>> drivers/scsi/Kconfig.lowlevel | 1578 +++++++++++++++++++++++++++++++++
>> 3 files changed, 1588 insertions(+), 1583 deletions(-)
>
> Nearly right. ;-)
>
> There are a few architectures not (yet) using drivers/Kconfig.
Right, the patch is wrong for those architectures which include
drivers/scsi/Kconfig directly, rather than indirectly via drivers/Kconfig.
[...]
>> # 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?
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? ...?
> 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.
--
Stefan Richter
-=====-=-=== =--= -====
http://arcgraph.de/sr/
next prev parent reply other threads:[~2007-09-15 12:24 UTC|newest]
Thread overview: 64+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20070907124800.GP16806@vanheusden.com>
2007-09-08 16:07 ` sata & scsi suggestion for make menuconfig 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 [this message]
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
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 18:23 ` 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=46EBCEF1.4030702@s5r6.in-berlin.de \
--to=stefanr@s5r6.in-berlin.de \
--cc=andi@firstfloor.org \
--cc=bunk@kernel.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 \
/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