patch-2.2.8 linux/drivers/block/ide.c
Next file: linux/drivers/block/rd.c
Previous file: linux/drivers/block/ide-cd.h
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Mon May  3 09:34:51 1999
-  Orig file: 
v2.2.7/linux/drivers/block/ide.c
-  Orig date: 
Tue Mar 23 14:35:47 1999
diff -u --recursive --new-file v2.2.7/linux/drivers/block/ide.c linux/drivers/block/ide.c
@@ -813,7 +813,7 @@
 		ide_end_drive_cmd(drive, stat, err);
 		return;
 	}
-	if (stat & BUSY_STAT) {		/* other bits are useless when BUSY */
+	if (stat & BUSY_STAT || ((stat & WRERR_STAT) && !drive->nowerr)) { /* other bits are useless when BUSY */
 		rq->errors |= ERROR_RESET;
 	} else {
 		if (drive->media == ide_disk && (stat & ERR_STAT)) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)