linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] SCSI_SATA has to be a tristate
@ 2005-07-15 21:35 Adrian Bunk
  0 siblings, 0 replies; 7+ messages in thread
From: Adrian Bunk @ 2005-07-15 21:35 UTC (permalink / raw)
  To: Andrew Morton; +Cc: jgarzik, linux-kernel, linux-ide

SCSI=m must disallow static drivers.

The problem is that all the SATA drivers depend on SCSI_SATA.

With SCSI=m and SCSI_SATA=y this allows the static enabling of the SATA
drivers with unwanted effects, e.g.:
- SCSI=m, SCSI_SATA=y, SCSI_ATA_ADMA=y
  -> SCSI_ATA_ADMA is built statically but scsi/built-in.o is not linked
     into the kernel
- SCSI=m, SCSI_SATA=y, SCSI_ATA_ADMA=y, SCSI_SATA_AHCI=m
  -> SCSI_ATA_ADMA and libata are built statically but
     scsi/built-in.o is not linked into the kernel,
     SCSI_SATA_AHCI is built modular (unresolved symbols due to missing
                                      libata)

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

This patch was already sent on:
- 8 Jul 2005
- 2 Jul 2005

--- linux-2.6.13-rc1-mm1/drivers/scsi/Kconfig.old	2005-07-02 21:57:40.000000000 +0200
+++ linux-2.6.13-rc1-mm1/drivers/scsi/Kconfig	2005-07-02 21:58:06.000000000 +0200
@@ -447,7 +447,7 @@
 source "drivers/scsi/megaraid/Kconfig.megaraid"
 
 config SCSI_SATA
-	bool "Serial ATA (SATA) support"
+	tristate "Serial ATA (SATA) support"
 	depends on SCSI
 	help
 	  This driver family supports Serial ATA host controllers
k

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [2.6 patch] SCSI_SATA has to be a tristate
@ 2005-07-08 21:48 Adrian Bunk
  2005-07-08 23:36 ` Roman Zippel
  0 siblings, 1 reply; 7+ messages in thread
From: Adrian Bunk @ 2005-07-08 21:48 UTC (permalink / raw)
  To: Andrew Morton; +Cc: jgarzik, linux-kernel, linux-ide

SCSI=m must disallow static drivers.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

This patch was already sent on:
- 2 Jul 2005

--- linux-2.6.13-rc1-mm1/drivers/scsi/Kconfig.old	2005-07-02 21:57:40.000000000 +0200
+++ linux-2.6.13-rc1-mm1/drivers/scsi/Kconfig	2005-07-02 21:58:06.000000000 +0200
@@ -447,7 +447,7 @@
 source "drivers/scsi/megaraid/Kconfig.megaraid"
 
 config SCSI_SATA
-	bool "Serial ATA (SATA) support"
+	tristate "Serial ATA (SATA) support"
 	depends on SCSI
 	help
 	  This driver family supports Serial ATA host controllers

^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <42C6C5CE.50203@freemail.hu>]

end of thread, other threads:[~2005-07-15 21:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-15 21:35 [2.6 patch] SCSI_SATA has to be a tristate Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2005-07-08 21:48 Adrian Bunk
2005-07-08 23:36 ` Roman Zippel
2005-07-09  0:05   ` Jeff Garzik
2005-07-09  1:24   ` Adrian Bunk
     [not found] <42C6C5CE.50203@freemail.hu>
2005-07-02 21:43 ` Adrian Bunk
2005-07-03 14:01   ` Zoltan Boszormenyi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).