Re: sata & scsi suggestion for make menuconfig

From: Randy Dunlap
Date: Sat Sep 08 2007 - 12:51:08 EST


On Sat, 08 Sep 2007 18:44:46 +0200 Stefan Richter wrote:

> Randy Dunlap wrote:
> > Stefan Richter wrote:
> >> I am not a friend of 'select', but maybe the following actually helps.
> ...
> > 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.
> ...
> >> 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
> ...
>
> I checked the dependencies. ATA depends on SCSI (actually, selects
> SCSI), so all is well. Otherwise I would have added more dependencies
> to ATA_SD.

Ah, that's good, then. Thanks.

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/