From: Randy Dunlap <randy.dunlap@oracle.com>
To: Stefan Richter <stefanr@s5r6.in-berlin.de>
Cc: Folkert van Heusden <folkert@vanheusden.com>,
linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org
Subject: Re: sata & scsi suggestion for make menuconfig
Date: Sat, 08 Sep 2007 09:31:47 -0700 [thread overview]
Message-ID: <46E2CE73.3000207@oracle.com> (raw)
In-Reply-To: <46E249CB.5070505@s5r6.in-berlin.de>
Stefan Richter wrote:
> (added Cc linux-ide)
>
> Folkert van Heusden wrote:
>>>>> A popup makes some sense, but I don't know if menuconfig knows how to
>>>>> do popup warnings... and it needs to be done for all *configs,
>>>>> not just menuconfig.
>>>> Maybe add a new type?
>>> How about
>>> comment "Note: 'SCSI disk support' is required for SATA/PATA HDDs!"
>>> depends on ATA && !BLK_DEV_SD
>> Yes! Maybe create some status-line at the bottom of the screen in which
>> these hints scrollby. Like powertop does.
>
> 'comment' is already supported by make {menu,x,g}config and AFAIK by
> make oldconfig too. It is not effective in make oldconfig though
> because it will scroll off the screen quickly.
>
> I am not a friend of 'select', but maybe the following actually helps.
> I didn't follow all of this and previous related discussions, so I guess
> somebody else suggested something like this before:
>
The problem with 'select' here is that it will enable BLK_DEV_SD,
but if SCSI is not enabled, it will not become enabled -- i.e.,
select does not follow the dependency chain. So usually the
kernel will not build unless SCSI is enabled by the user.
> # drivers/ata/Kconfig
>
> config ATA
> [...]
>
> comment "Controller drivers"
>
> [...low-level drivers go here...]
>
> comment "Storage device drivers"
>
> config ATA_SD
> tristate "SATA/PATA HDD support (via SCSI disk support)"
> depends on ATA
> select BLK_DEV_SD
> help
> 'SCSI disk support' is required to access SATA HDDs. It is
> also necessary for parallel ATA (IDE) HDDs if you use the
> experimental parallel ATA option.
>
> You can say Y or M here to select SCSI disk support, or you
> can do so in the 'SCSI device support' section.
>
> [...ditto for CD/DVD-ROMs, tapes, and generic support...]
--
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
next prev parent reply other threads:[~2007-09-08 16:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20070907124800.GP16806@vanheusden.com>
[not found] ` <20070907083522.3191a4ba.randy.dunlap@oracle.com>
[not found] ` <20070907155903.GR16806@vanheusden.com>
[not found] ` <46E17A81.7020304@s5r6.in-berlin.de>
[not found] ` <20070907230529.GX16806@vanheusden.com>
2007-09-08 7:05 ` sata & scsi suggestion for make menuconfig Stefan Richter
2007-09-08 7:29 ` Jan Engelhardt
2007-09-08 7:56 ` Stefan Richter
2007-09-08 16:31 ` Randy Dunlap [this message]
2007-09-08 16:44 ` Stefan Richter
2007-09-08 16:48 ` Randy Dunlap
2007-09-08 19:45 ` Stefan Richter
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=46E2CE73.3000207@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=folkert@vanheusden.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.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