public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] 2.4.23-pre8: link error with both megaraid drivers
@ 2003-10-23 15:27 Xose Vazquez Perez
  2003-10-23 19:52 ` Adrian Bunk
  0 siblings, 1 reply; 6+ messages in thread
From: Xose Vazquez Perez @ 2003-10-23 15:27 UTC (permalink / raw)
  To: Marcelo Tosatti, linux-kernel, linux-scsi

[-- Attachment #1: Type: text/plain, Size: 324 bytes --]

Adrian Bunk wrote:

> The patch below fixes this issue by disalllowing the static inclusion of
> both drivers at the same time.

IMO this patch makes a better job. It only allows one in kernel,
and it allows two modules at same time.

xconfig and menuconfig work ok.

-thanks-
--
HTML mails are going to trash automatically

[-- Attachment #2: config-megaraid.diff --]
[-- Type: text/plain, Size: 906 bytes --]

--- linux/drivers/scsi/Config.in	2003-10-23 16:56:13.000000000 +0200
+++ new/drivers/scsi/Config.in	2003-10-23 17:00:51.000000000 +0200
@@ -66,8 +66,14 @@
 dep_tristate 'AdvanSys SCSI support' CONFIG_SCSI_ADVANSYS $CONFIG_SCSI
 dep_tristate 'Always IN2000 SCSI support' CONFIG_SCSI_IN2000 $CONFIG_SCSI
 dep_tristate 'AM53/79C974 PCI SCSI support' CONFIG_SCSI_AM53C974 $CONFIG_SCSI $CONFIG_PCI
-dep_tristate 'AMI MegaRAID support' CONFIG_SCSI_MEGARAID $CONFIG_SCSI
-dep_tristate 'AMI MegaRAID2 support' CONFIG_SCSI_MEGARAID2 $CONFIG_SCSI
+
+if [ "$CONFIG_SCSI_MEGARAID2" != "y" ]; then
+	dep_tristate 'AMI MegaRAID support' CONFIG_SCSI_MEGARAID $CONFIG_SCSI
+fi
+
+if [ "$CONFIG_SCSI_MEGARAID" != "y" ]; then
+	dep_tristate 'AMI MegaRAID2 support' CONFIG_SCSI_MEGARAID2 $CONFIG_SCSI
+fi
 
 dep_tristate 'BusLogic SCSI support' CONFIG_SCSI_BUSLOGIC $CONFIG_SCSI
 if [ "$CONFIG_SCSI_BUSLOGIC" != "n" ]; then


^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <Pine.LNX.4.44.0310222116270.1364-100000@logos.cnet>]

end of thread, other threads:[~2003-10-24  3:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-23 15:27 [patch] 2.4.23-pre8: link error with both megaraid drivers Xose Vazquez Perez
2003-10-23 19:52 ` Adrian Bunk
2003-10-24  3:27   ` Xose Vazquez Perez
     [not found] <Pine.LNX.4.44.0310222116270.1364-100000@logos.cnet>
2003-10-23 14:07 ` Adrian Bunk
2003-10-23 14:18   ` Matthew Wilcox
2003-10-23 19:42     ` Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox