diff options
| author | petrov <petrov@NetBSD.org> | 2002-09-16 21:49:15 +0000 |
|---|---|---|
| committer | petrov <petrov@NetBSD.org> | 2002-09-16 21:49:15 +0000 |
| commit | dc81a805eafdb63bcc006373df461bf2b0383a4f (patch) | |
| tree | a8492bcb3d8b9eadfc68cdaad12d9c966b5fe924 /sys/dev | |
| parent | 70535604e4cc983faccf4a073af4c94120115964 (diff) | |
Use driver reset in case 'internal state mismatch'.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/ic/ncr53c9x.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/ic/ncr53c9x.c b/sys/dev/ic/ncr53c9x.c index 9598a8b2a5a..4bf1dba5325 100644 --- a/sys/dev/ic/ncr53c9x.c +++ b/sys/dev/ic/ncr53c9x.c @@ -1,4 +1,4 @@ -/* $NetBSD: ncr53c9x.c,v 1.96 2002/08/26 06:23:32 petrov Exp $ */ +/* $NetBSD: ncr53c9x.c,v 1.97 2002/09/16 21:49:15 petrov Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -77,7 +77,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ncr53c9x.c,v 1.96 2002/08/26 06:23:32 petrov Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ncr53c9x.c,v 1.97 2002/09/16 21:49:15 petrov Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -2645,11 +2645,9 @@ printf("<<RESELECT CONT'd>>"); break; default: - /* Don't panic: reset. */ printf("%s: invalid state: %d\n", sc->sc_dev.dv_xname, sc->sc_state); - ncr53c9x_scsi_reset(sc); - goto out; + goto reset; } /* |
