patch-2.1.103 linux/drivers/scsi/ppa.c
Next file: linux/drivers/scsi/scsi.c
Previous file: linux/drivers/scsi/hosts.c
Back to the patch index
Back to the overall index
-  Lines: 17
-  Date:
Thu May 14 18:50:09 1998
-  Orig file: 
v2.1.102/linux/drivers/scsi/ppa.c
-  Orig date: 
Thu May  7 22:51:51 1998
diff -u --recursive --new-file v2.1.102/linux/drivers/scsi/ppa.c linux/drivers/scsi/ppa.c
@@ -1035,7 +1035,7 @@
 	    if ((r_str(ppb) & 0x08) == 0x00)
 		retv--;
 
-	    if (retv)
+	    if (retv) {
 		if ((jiffies - tmp->jstart) > (1 * HZ)) {
 		    printk("ppa: Parallel port cable is unplugged!!\n");
 		    ppa_fail(host_no, DID_BUS_BUSY);
@@ -1044,6 +1044,7 @@
 		    ppa_disconnect(host_no);
 		    return 1;	/* Try again in a jiffy */
 		}
+	    }
 	    cmd->SCp.phase++;
 	}
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov