All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@fs.tum.de>
To: Alan Cox <alan@redhat.com>, Atul Mukker <Atul.Mukker@lsil.com>
Cc: linux-kernel@vger.kernel.org
Subject: [patch] 2.4.21-rc2-ac1: compile error with both AMI Megaraid drivers
Date: Sun, 11 May 2003 16:20:05 +0200	[thread overview]
Message-ID: <20030511142005.GI1107@fs.tum.de> (raw)
In-Reply-To: <200305101412.h4AEC3107645@devserv.devel.redhat.com>

On Sat, May 10, 2003 at 10:12:03AM -0400, Alan Cox wrote:
>...
> Linux 2.4.21rc1-ac4
>...
> o	Merge new AMI Megaraid driver as megaraid2	(Atul Mukker)
>...

This fails when trying to build both AMI Megaraid drivers statically 
into the kernel.

The following patch fixes it:

--- linux-2.4.21-rc2-ac1-full/drivers/scsi/Config.in.old	2003-05-11 16:14:23.000000000 +0200
+++ linux-2.4.21-rc2-ac1-full/drivers/scsi/Config.in	2003-05-11 16:15:42.000000000 +0200
@@ -66,7 +66,9 @@
 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 (old driver)' CONFIG_SCSI_MEGARAID $CONFIG_SCSI
-dep_tristate 'AMI MegaRAID support (new driver)' CONFIG_SCSI_MEGARAID2 $CONFIG_SCSI
+if [ "$CONFIG_SCSI_MEGARAID" != "y" ]; then
+   dep_tristate 'AMI MegaRAID support (new driver)' CONFIG_SCSI_MEGARAID2 $CONFIG_SCSI
+fi
 
 dep_tristate 'BusLogic SCSI support' CONFIG_SCSI_BUSLOGIC $CONFIG_SCSI
 if [ "$CONFIG_SCSI_BUSLOGIC" != "n" ]; then


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


      parent reply	other threads:[~2003-05-11 14:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-10 14:12 Linux 2.4.21-rc2-ac1 Alan Cox
2003-05-11  1:27 ` Linux 2.4.21-rc2-ac1: unresolved Eyal Lebedinsky
2003-05-11 14:20 ` Adrian Bunk [this message]

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=20030511142005.GI1107@fs.tum.de \
    --to=bunk@fs.tum.de \
    --cc=Atul.Mukker@lsil.com \
    --cc=alan@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    /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.