Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/sys/dev/ic Pull up revision 1.36 (requested by danw):



details:   https://anonhg.NetBSD.org/src/rev/b7bfe9873eec
branches:  netbsd-1-4
changeset: 469729:b7bfe9873eec
user:      he <he%NetBSD.org@localhost>
date:      Sun Nov 21 15:11:56 1999 +0000

description:
Pull up revision 1.36 (requested by danw):
  Add a brief delay after resetting the chip before checking to see
  if it's done.  Trying to talk to the chip while it is unresponsive
  can cause a "machine check" on some platforms/busses.

diffstat:

 sys/dev/ic/aic7xxx.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r fb554b608c55 -r b7bfe9873eec sys/dev/ic/aic7xxx.c
--- a/sys/dev/ic/aic7xxx.c      Sun Nov 21 15:04:45 1999 +0000
+++ b/sys/dev/ic/aic7xxx.c      Sun Nov 21 15:11:56 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aic7xxx.c,v 1.35 1999/02/19 20:58:51 leo Exp $ */
+/*     $NetBSD: aic7xxx.c,v 1.35.2.1 1999/11/21 15:11:56 he Exp $      */
 
 /*
  * Generic driver for the aic7xxx based adaptec SCSI controllers
@@ -525,6 +525,7 @@
        /*
         * Ensure that the reset has finished
         */
+       DELAY(100);
        wait = 1000;
 #if defined(__FreeBSD__)
        while (--wait && !(inb(HCNTRL + iobase) & CHIPRSTACK))



Home | Main Index | Thread Index | Old Index