From: Adrian Bunk <bunk@fs.tum.de>
To: Jan Kokoska <kokoska.jan@globe.cz>
Cc: linux-kernel@vger.kernel.org, marcelo.tosatti@cyclades.com
Subject: Re: Linux 2.4.25-pre4
Date: Tue, 6 Jan 2004 19:26:37 +0100 [thread overview]
Message-ID: <20040106182636.GI11523@fs.tum.de> (raw)
In-Reply-To: <1073405784.880.410.camel@marigold>
On Tue, Jan 06, 2004 at 05:16:24PM +0100, Jan Kokoska wrote:
> Hi,
Hi Jan,
> Trying to compile $subj with following config (these options seem to
> cause the problem, full config attached):
>
> CONFIG_SCSI_MEGARAID=y
> CONFIG_SCSI_MEGARAID2=y
>
> gives me this result:
>...
> Is this a known issue and megaraids can't live together, or am I
> supposed to be able to compile both drivers in and this is a bug?
>...
They can't live together.
Below is a patch to tell the config system not to alllow illegal
configurations.
> Jan Kokoska
>...
cu
Adrian
--- linux-2.4.25-pre4-full/drivers/scsi/Config.in.old 2004-01-06 18:06:29.000000000 +0100
+++ linux-2.4.25-pre4-full/drivers/scsi/Config.in 2004-01-06 18:08:00.000000000 +0100
@@ -67,7 +67,16 @@
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_MEGARAID" = "y" ]; then
+ define_tristate CONFIG_SCSI_MEGARAID2_DEP n
+else
+ if [ "$CONFIG_SCSI_MEGARAID" = "m" ]; then
+ define_tristate CONFIG_SCSI_MEGARAID2_DEP m $CONFIG_SCSI
+ else
+ define_tristate CONFIG_SCSI_MEGARAID2_DEP $CONFIG_SCSI
+ fi
+fi
+dep_tristate 'AMI MegaRAID2 support' CONFIG_SCSI_MEGARAID2 $CONFIG_SCSI_MEGARAID2_DEP
dep_tristate 'BusLogic SCSI support' CONFIG_SCSI_BUSLOGIC $CONFIG_SCSI
if [ "$CONFIG_SCSI_BUSLOGIC" != "n" ]; then
next prev parent reply other threads:[~2004-01-06 18:28 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-06 14:14 Linux 2.4.25-pre4 Marcelo Tosatti
2004-01-06 16:16 ` Jan Kokoska
2004-01-06 16:28 ` Matt Domsch
2004-01-06 17:30 ` Kronos
2004-01-06 18:26 ` Adrian Bunk [this message]
2004-01-06 18:02 ` Mike Fedyk
2004-01-06 18:21 ` Marcelo Tosatti
2004-01-30 13:57 ` Andreas Metzler
2004-01-30 15:19 ` Markus Hästbacka
2004-01-31 22:47 ` Marcelo Tosatti
2004-01-31 23:11 ` Andreas Metzler
-- strict thread matches above, loose matches on Subject: below --
2004-01-07 16:15 Andrzej Krzysztofowicz
2004-01-07 15:34 Andrzej Krzysztofowicz
[not found] <1b0nY-2vi-13@gated-at.bofh.it>
[not found] ` <1b3OA-7FV-17@gated-at.bofh.it>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040106182636.GI11523@fs.tum.de \
--to=bunk@fs.tum.de \
--cc=kokoska.jan@globe.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo.tosatti@cyclades.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.