patch-2.2.8 linux/drivers/block/Config.in

Next file: linux/drivers/block/ide-cd.h
Previous file: linux/drivers/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.7/linux/drivers/block/Config.in linux/drivers/block/Config.in
@@ -51,13 +51,15 @@
           bool '   Winbond SL82c105 support' CONFIG_BLK_DEV_SL82C105
       fi
     fi
-    if [ "$CONFIG_PMAC" = "y" ]; then
-      define_bool CONFIG_BLK_DEV_IDE_PMAC y
-      bool '   PowerMac IDE DMA support' CONFIG_BLK_DEV_IDEDMA_PMAC
-      if [ "$CONFIG_BLK_DEV_IDEDMA_PMAC" = "y" ]; then
-        define_bool CONFIG_BLK_DEV_IDEDMA y
-	bool '     Use DMA by default' CONFIG_PMAC_IDEDMA_AUTO
-      fi
+    if [ "$CONFIG_PMAC" = "y" -o "$CONFIG_ALL_PPC" = "y" ]; then
+      bool '   Builtin PowerMac IDE support' CONFIG_BLK_DEV_IDE_PMAC
+        if [ "$CONFIG_BLK_DEV_IDE_PMAC" != "n" ]; then
+          bool '     PowerMac IDE DMA support' CONFIG_BLK_DEV_IDEDMA_PMAC
+          if [ "$CONFIG_BLK_DEV_IDEDMA_PMAC" = "y" ]; then
+            define_bool CONFIG_BLK_DEV_IDEDMA y
+            bool '     Use DMA by default' CONFIG_PMAC_IDEDMA_AUTO
+          fi
+       fi
     fi
     bool '   Other IDE chipset support' CONFIG_IDE_CHIPSETS
     if [ "$CONFIG_IDE_CHIPSETS" = "y" ]; then

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)