patch-2.4.0-test3 linux/drivers/ide/piix.c

Next file: linux/drivers/ieee1394/Config.in
Previous file: linux/drivers/ide/ide.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test2/linux/drivers/ide/piix.c linux/drivers/ide/piix.c
@@ -191,6 +191,7 @@
 
 extern char *ide_xfer_verbose (byte xfer_rate);
 
+#if defined(CONFIG_BLK_DEV_IDEDMA) && defined(CONFIG_PIIX_TUNING)
 /*
  *
  */
@@ -221,6 +222,7 @@
 			return 0;
 	}
 }
+#endif /* defined(CONFIG_BLK_DEV_IDEDMA) && (CONFIG_PIIX_TUNING) */
 
 /*
  *  Based on settings done by AMI BIOS

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