patch-2.3.26 linux/drivers/block/icside.c

Next file: linux/drivers/block/ide-cd.c
Previous file: linux/drivers/block/hpt34x.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.25/linux/drivers/block/icside.c linux/drivers/block/icside.c
@@ -381,8 +381,7 @@
 		if (drive->media != ide_disk)
 			return 0;
 
-		drive->timeout = WAIT_CMD;
-		ide_set_handler(drive, &ide_dma_intr);
+		ide_set_handler(drive, &ide_dma_intr, WAIT_CMD, NULL);
 		OUT_BYTE(reading ? WIN_READDMA : WIN_WRITEDMA,
 			 IDE_COMMAND_REG);
 

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