patch-2.3.6 linux/drivers/block/cy82c693.c

Next file: linux/drivers/block/floppy.c
Previous file: linux/drivers/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.5/linux/drivers/block/cy82c693.c linux/drivers/block/cy82c693.c
@@ -423,7 +423,8 @@
 __initfunc(void ide_init_cy82c693(ide_hwif_t *hwif))
 {
 	hwif->chipset = ide_cy82c693;
-	hwif->dmaproc = &cy82c693_dmaproc;
+	if (hwif->dma_base)
+		hwif->dmaproc = &cy82c693_dmaproc;
 	hwif->tuneproc = &cy82c693_tune_drive;
 
 	init_cy82c693_chip(hwif->pci_dev);

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