patch-2.3.34 linux/drivers/block/via82cxxx.c

Next file: linux/drivers/char/Config.in
Previous file: linux/drivers/block/sl82c105.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.33/linux/drivers/block/via82cxxx.c linux/drivers/block/via82cxxx.c
@@ -1,5 +1,5 @@
 /*
- * linux/drivers/block/via82cxxx.c	Version 0.05	Sept. 03, 1999
+ * linux/drivers/block/via82cxxx.c	Version 0.06	Dec. 13, 1999
  *
  *  Copyright (C) 1998-99 Michel Aubry, Maintainer
  *  Copyright (C) 1999 Jeff Garzik, MVP4 Support (jgarzik@pobox.com)
@@ -542,6 +542,18 @@
 void __init ide_init_via82cxxx (ide_hwif_t *hwif)
 {
 	set_via_timings(hwif);
+#if 0
+	hwif->tuneproc = &via82cxxx_tune_drive;
+	if (hwif->dma_base) {
+		hwif->dmaproc = &via82cxxx_dmaproc;
+		hwif->drives[0].autotune = 0;
+		hwif->drives[1].autotune = 0;
+	} else {
+		hwif->autodma = 0;
+		hwif->drives[0].autotune = 1;
+		hwif->drives[1].autotune = 1;
+	}
+#endif
 }
 
 /*

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