public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Patch to fix lockup on ppa insert
@ 2000-11-16 12:36 John Cavan
  2000-11-16 12:53 ` [PATCH] " John Cavan
  0 siblings, 1 reply; 7+ messages in thread
From: John Cavan @ 2000-11-16 12:36 UTC (permalink / raw)
  To: Linux Kernel

Similar to the imm patch, it's working for me.

John

diff -ru linux.clean/drivers/scsi/ppa.h linux.current/drivers/scsi/ppa.h
--- linux.clean/drivers/scsi/ppa.h      Thu Sep 14 20:27:05 2000
+++ linux.current/drivers/scsi/ppa.h    Thu Nov 16 07:26:38 2000
@@ -170,7 +170,7 @@
                eh_device_reset_handler:        NULL,                  
\
                eh_bus_reset_handler:           ppa_reset,             
\
                eh_host_reset_handler:          ppa_reset,             
\
-               use_new_eh_code:                1,                     
\
+               use_new_eh_code:                0,                     
\
                bios_param:                     ppa_biosparam,         
\
                this_id:                        -1,                    
\
                sg_tablesize:                   SG_ALL,                
\
diff -ru linux.clean/drivers/scsi/ppa.c linux.current/drivers/scsi/ppa.c
--- linux.clean/drivers/scsi/ppa.c      Thu Nov 16 07:25:29 2000
+++ linux.current/drivers/scsi/ppa.c    Thu Nov 16 07:28:10 2000
@@ -215,8 +215,10 @@
        }
        try_again = 1;
        goto retry_entry;
-    } else
+    } else {
+       host->use_new_eh_code = 1;
        return 1;               /* return number of hosts detected */
+    }
 }
 
 /* This is to give the ppa driver a way to modify the timings (and
other
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2000-11-20 13:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-16 12:36 Patch to fix lockup on ppa insert John Cavan
2000-11-16 12:53 ` [PATCH] " John Cavan
2000-11-16 15:20   ` Jens Axboe
2000-11-17  2:50     ` [PATCH] (new for ppa and imm) " John Cavan
2000-11-17 10:24       ` Tim Waugh
2000-11-18 22:10         ` John Cavan
2000-11-20 12:51           ` Tim Waugh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox