RE: linux-2.6.17.1: cciss.c:(.text+0x81594): undefined referenceto`scsi_device_types'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yeah, I think that looks ok to me.  (Was a little confused
trying it out, as I had USB storage as "y" as well
as the cciss tape support being turned on and my
scsi ended up displaying in make menuconfig as "---"
rather than "m" or "y".

Maybe that means it was selected by multiple other things?

-- steve



-----Original Message-----
From: James Bottomley [mailto:James.Bottomley@xxxxxxxxxxxx]
Sent: Thu 6/22/2006 1:51 PM
To: Cameron, Steve
Cc: Toralf Förster; ISS StorageDev; linux-scsi@xxxxxxxxxxxxxxx
Subject: RE: linux-2.6.17.1: cciss.c:(.text+0x81594): undefined referenceto`scsi_device_types'
 
On Thu, 2006-06-22 at 13:27 -0500, Cameron, Steve wrote:
> This makes me think that if CISS_SCSI_TAPE is y, it will force
> SCSI to be y?  That's quite not correct.

Hmm, yes, this will have to be done via a dummy variable.  How about
this?

James

diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig
index ae0949b..a1108fa 100644
--- a/drivers/block/Kconfig
+++ b/drivers/block/Kconfig
@@ -166,7 +166,7 @@ config BLK_CPQ_CISS_DA
 
 config CISS_SCSI_TAPE
 	bool "SCSI tape drive support for Smart Array 5xxx"
-	depends on BLK_CPQ_CISS_DA && SCSI && PROC_FS
+	depends on BLK_CPQ_CISS_DA && PROC_FS
 	help
 	  When enabled (Y), this option allows SCSI tape drives and SCSI medium
 	  changers (tape robots) to be accessed via a Compaq 5xxx array 
@@ -178,6 +178,11 @@ config CISS_SCSI_TAPE
 	  When this option is disabled (N), the SCSI portion of the driver 
 	  is not compiled.
 
+config CISS_FORCE_SCSI
+	tristate
+	default BLK_CPQ_CISS_DA
+	select SCSI if CISS_SCSI_TAPE
+
 config BLK_DEV_DAC960
 	tristate "Mylex DAC960/DAC1100 PCI RAID Controller support"
 	depends on PCI



-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux