linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [2.4.21-rc3] Fix make xconfig breakage
@ 2003-05-23 22:22 Carl-Daniel Hailfinger
  0 siblings, 0 replies; only message in thread
From: Carl-Daniel Hailfinger @ 2003-05-23 22:22 UTC (permalink / raw)
  To: Marcelo Tosatti, Linux Kernel Mailing List

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

Hi Marcelo,

drivers/ide/Config.in has a few bugs which prevent make xconfig from
running at all. The attached fix is ugly, but small and thus appropriate
for -rc4. It has been tested and works for me(TM).

I will send you a more invasive fix to do it right(TM) during 2.4.22-pre
timeframe. For now, please apply the minimal fix below.

Thanks
Carl-Daniel

[-- Attachment #2: mimimal-ide-xconfig-fix.diff --]
[-- Type: text/plain, Size: 1611 bytes --]

===== drivers/ide/Config.in 1.28 vs edited =====
--- 1.28/drivers/ide/Config.in	Fri May 23 10:51:27 2003
+++ edited/drivers/ide/Config.in	Sat May 24 00:09:24 2003
@@ -63,10 +63,12 @@
 	    dep_tristate '    NS87415 chipset support' CONFIG_BLK_DEV_NS87415 $CONFIG_BLK_DEV_IDEDMA_PCI
 	    dep_tristate '    OPTi 82C621 chipset enhanced support (EXPERIMENTAL)' CONFIG_BLK_DEV_OPTI621 $CONFIG_EXPERIMENTAL
 	    dep_tristate '    PROMISE PDC202{46|62|65|67} support' CONFIG_BLK_DEV_PDC202XX_OLD $CONFIG_BLK_DEV_IDEDMA_PCI
-	    dep_bool     '      Special UDMA Feature' CONFIG_PDC202XX_BURST $CONFIG_BLK_DEV_PDC202XX_OLD $CONFI_BLK_DEV_IDEDMA_PCI
+	    dep_mbool    '      Special UDMA Feature' CONFIG_PDC202XX_BURST $CONFIG_BLK_DEV_PDC202XX_OLD $CONFI_BLK_DEV_IDEDMA_PCI
 	    dep_tristate '    PROMISE PDC202{68|69|70|71|75|76|77} support' CONFIG_BLK_DEV_PDC202XX_NEW $CONFIG_BLK_DEV_IDEDMA_PCI
+	    if [ "$CONFIG_BLK_DEV_PDC202XX_OLD" = "y" -o "$CONFIG_BLK_DEV_PDC202XX_OLD" = "m" -o "$CONFIG_BLK_DEV_PDC202XX_NEW" = "y" -o "$CONFIG_BLK_DEV_PDC202XX_NEW" = "m" ]; then
 		# FIXME - probably wants to be one for old and for new
-	    dep_bool     '    Special FastTrak Feature' CONFIG_PDC202XX_FORCE
+	       dep_mbool '    Special FastTrak Feature' CONFIG_PDC202XX_FORCE $CONFIG_BLK_DEV_IDEDMA_PCI
+	    fi
 	    dep_tristate '    RZ1000 chipset bugfix/support' CONFIG_BLK_DEV_RZ1000 $CONFIG_X86
 	    dep_tristate '    SCx200 chipset support' CONFIG_BLK_DEV_SC1200 $CONFIG_BLK_DEV_IDEDMA_PCI
 	    dep_tristate '    ServerWorks OSB4/CSB5/CSB6 chipsets support' CONFIG_BLK_DEV_SVWKS $CONFIG_BLK_DEV_IDEDMA_PCI

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-23 22:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-23 22:22 [PATCH] [2.4.21-rc3] Fix make xconfig breakage Carl-Daniel Hailfinger

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).