patch-2.4.5 linux/drivers/ide/alim15x3.c
Next file: linux/drivers/ide/amd7409.c
Previous file: linux/drivers/i2o/i2o_scsi.c
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Sat May 19 17:43:06 2001
- Orig file:
v2.4.4/linux/drivers/ide/alim15x3.c
- Orig date:
Fri Apr 27 14:15:01 2001
diff -u --recursive --new-file v2.4.4/linux/drivers/ide/alim15x3.c linux/drivers/ide/alim15x3.c
@@ -233,8 +233,8 @@
}
#endif /* defined(DISPLAY_ALI_TIMINGS) && defined(CONFIG_PROC_FS) */
-static byte m5229_revision = 0;
-static byte chip_is_1543c_e = 0;
+static byte m5229_revision;
+static byte chip_is_1543c_e;
byte ali_proc = 0;
static struct pci_dev *isa_dev;
@@ -689,7 +689,8 @@
* M1543C or newer for DMAing
*/
hwif->dmaproc = &ali15x3_dmaproc;
- hwif->autodma = 1;
+ if (!noautodma)
+ hwif->autodma = 1;
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)