Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Use driver reset in case 'internal state mismatch'.
details: https://anonhg.NetBSD.org/src/rev/ce834c9fb38e
branches: trunk
changeset: 536486:ce834c9fb38e
user: petrov <petrov%NetBSD.org@localhost>
date: Mon Sep 16 21:49:15 2002 +0000
description:
Use driver reset in case 'internal state mismatch'.
diffstat:
sys/dev/ic/ncr53c9x.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (31 lines):
diff -r 507cb0d746c3 -r ce834c9fb38e sys/dev/ic/ncr53c9x.c
--- a/sys/dev/ic/ncr53c9x.c Mon Sep 16 21:08:28 2002 +0000
+++ b/sys/dev/ic/ncr53c9x.c Mon Sep 16 21:49:15 2002 +0000
@@ -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 @@
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;
}
/*
Home |
Main Index |
Thread Index |
Old Index