linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Cavan <johncavan@home.com>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Patch to fix lockup on ppa insert
Date: Thu, 16 Nov 2000 07:36:10 -0500	[thread overview]
Message-ID: <3A13D4BA.AD4A580B@home.com> (raw)

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/

             reply	other threads:[~2000-11-16 13:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-16 12:36 John Cavan [this message]
2000-11-16 12:53 ` [PATCH] Re: Patch to fix lockup on ppa insert 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3A13D4BA.AD4A580B@home.com \
    --to=johncavan@home.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).