patch-2.3.34 linux/drivers/block/cy82c693.c
Next file: linux/drivers/block/hpt34x.c
Previous file: linux/drivers/block/alim15x3.c
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Tue Dec 14 23:03:49 1999
- Orig file:
v2.3.33/linux/drivers/block/cy82c693.c
- Orig date:
Fri Oct 22 13:21:47 1999
diff -u --recursive --new-file v2.3.33/linux/drivers/block/cy82c693.c linux/drivers/block/cy82c693.c
@@ -1,5 +1,5 @@
/*
- * linux/drivers/block/cy82c693.c Version 0.34 Sept 3, 1999
+ * linux/drivers/block/cy82c693.c Version 0.34 Dec. 13, 1999
*
* Copyright (C) 1998-99 Andreas S. Krebs (akrebs@altavista.net), Maintainer
* Copyright (C) 1998-99 Andre Hedrick, Integrater
@@ -426,8 +426,14 @@
void __init ide_init_cy82c693(ide_hwif_t *hwif)
{
hwif->chipset = ide_cy82c693;
- if (hwif->dma_base)
- hwif->dmaproc = &cy82c693_dmaproc;
hwif->tuneproc = &cy82c693_tune_drive;
+ if (hwif->dma_base) {
+ hwif->dmaproc = &cy82c693_dmaproc;
+ hwif->drives[0].autotune = 0;
+ hwif->drives[1].autotune = 0;
+ } else {
+ hwif->drives[0].autotune = 1;
+ hwif->drives[1].autotune = 1;
+ }
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)