patch-2.3.34 linux/drivers/block/ns87415.c
Next file: linux/drivers/block/paride/aten.c
Previous file: linux/drivers/block/ide.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Tue Dec 14 23:03:50 1999
- Orig file:
v2.3.33/linux/drivers/block/ns87415.c
- Orig date:
Mon Aug 9 10:23:09 1999
diff -u --recursive --new-file v2.3.33/linux/drivers/block/ns87415.c linux/drivers/block/ns87415.c
@@ -97,6 +97,10 @@
return 0;
ns87415_prepare_drive(drive, 0); /* DMA failed: select PIO xfer */
return 1;
+ case ide_dma_check:
+ if (drive->media != ide_disk)
+ return ide_dmaproc(ide_dma_off_quietly, drive);
+ /* Fallthrough... */
default:
return ide_dmaproc(func, drive); /* use standard DMA stuff */
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)