Messages in this thread Patch in this message | | | Date | Thu, 23 Oct 2003 17:27:25 +0200 | From | Xose Vazquez Perez <> | Subject | [patch] 2.4.23-pre8: link error with both megaraid drivers |
| |
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 --- 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
| |