patch-2.1.113 linux/drivers/block/ide-dma.c
Next file: linux/drivers/block/ide-pci.c
Previous file: linux/drivers/block/ide-cd.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Jul 30 20:06:52 1998
- Orig file:
v2.1.112/linux/drivers/block/ide-dma.c
- Orig date:
Thu May 7 22:51:48 1998
diff -u --recursive --new-file v2.1.112/linux/drivers/block/ide-dma.c linux/drivers/block/ide-dma.c
@@ -210,7 +210,7 @@
struct hd_driveid *id = drive->id;
ide_hwif_t *hwif = HWIF(drive);
- if (id && (id->capability & 1) && !hwif->no_autodma) {
+ if (id && (id->capability & 1) && hwif->autodma) {
/* Enable DMA on any drive that has UltraDMA (mode 0/1/2) enabled */
if (id->field_valid & 4) /* UltraDMA */
if ((id->dma_ultra & (id->dma_ultra >> 8) & 7))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov