[PARPORT] ppa in 2.1.122 like this patch


Andrea Arcangeli (andrea@e-mind.com)
Mon, 21 Sep 1998 02:05:18 +0200 (CEST)


egcc warning suggest this patch against 2.1.122:

--- linux/drivers/scsi/ppa.c~ Thu Sep 17 18:39:37 1998
+++ linux/drivers/scsi/ppa.c Mon Sep 21 02:02:08 1998
@@ -1027,6 +1027,7 @@
                 retv--;
 
             if (retv)
+ {
                 if ((jiffies - tmp->jstart) > (1 * HZ)) {
                     printk("ppa: Parallel port cable is unplugged!!\n");
                     ppa_fail(host_no, DID_BUS_BUSY);
@@ -1035,6 +1036,7 @@
                     ppa_disconnect(host_no);
                     return 1; /* Try again in a jiffy */
                 }
+ }
             cmd->SCp.phase++;
         }
 

Andrea[s] Arcangeli

-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --



This archive was generated by hypermail 2.0b3 on Wed 30 Dec 1998 - 10:18:20 EST