Re: 2.6.3 CONFIG_SCSI_AIC7 X X X Kconfig bug

From: Randy.Dunlap
Date: Mon Feb 09 2004 - 12:06:16 EST


On Sat, 7 Feb 2004 17:20:54 +0100 Olaf Hering <olh@xxxxxxx> wrote:

|
| who made that 'XXX in subject' reject? That is bug one.

Yeah, I just use xyz instead...


| another bug:
|
| scsi is a module, but aic7xxx doesnt get build because it is set to yes.
| plain 2.6.3-rc1, happend also with 2.6.2.
|
| grep SCSI .config | grep =
| CONFIG_BLK_DEV_IDESCSI=m
| CONFIG_SCSI=m
| CONFIG_SCSI_MULTI_LUN=y
| CONFIG_SCSI_REPORT_LUNS=y
| CONFIG_SCSI_CONSTANTS=y
| CONFIG_SCSI_LOGGING=y
| CONFIG_SCSI_AIC7XXX=y
| CONFIG_SCSI_QLA2XXX_CONFIG=m
| CONFIG_SCSI_DEBUG=m
| CONFIG_USB_HPUSBSCSI=m
|
| I can not set CONFIG_SCSI_DEBUG to y, this is handled correctly.

Missing SCSI in "depends". Patch is below.

--
~Randy



product_versions: linux-262-pv
description: make Adaptec AIC7xyx drivers depend on SCSI tristate

diffstat:=
drivers/scsi/aic7xxx/Kconfig.aic79xx | 2 +-
drivers/scsi/aic7xxx/Kconfig.aic7xxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff -Naurp ./drivers/scsi/aic7xxx/Kconfig.aic7xxx~depends ./drivers/scsi/aic7xxx/Kconfig.aic7xxx
--- ./drivers/scsi/aic7xxx/Kconfig.aic7xxx~depends 2004-02-03 19:43:42.000000000 -0800
+++ ./drivers/scsi/aic7xxx/Kconfig.aic7xxx 2004-02-09 09:04:01.000000000 -0800
@@ -4,7 +4,7 @@
#
config SCSI_AIC7XXX
tristate "Adaptec AIC7xxx Fast -> U160 support (New Driver)"
- depends on PCI || EISA
+ depends on (PCI || EISA) && SCSI
---help---
This driver supports all of Adaptec's Fast through Ultra 160 PCI
based SCSI controllers as well as the aic7770 based EISA and VLB
diff -Naurp ./drivers/scsi/aic7xxx/Kconfig.aic79xx~depends ./drivers/scsi/aic7xxx/Kconfig.aic79xx
--- ./drivers/scsi/aic7xxx/Kconfig.aic79xx~depends 2004-02-03 19:43:43.000000000 -0800
+++ ./drivers/scsi/aic7xxx/Kconfig.aic79xx 2004-02-09 09:03:52.000000000 -0800
@@ -4,7 +4,7 @@
#
config SCSI_AIC79XX
tristate "Adaptec AIC79xx U320 support"
- depends on PCI
+ depends on PCI && SCSI
help
This driver supports all of Adaptec's Ultra 320 PCI-X
based SCSI controllers.
-
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/