diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-03-12 00:25:58 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-03-12 00:25:58 +0000 |
commit | 4f04ec5c1bd29c2062522be784b3d8f4c0a4b49b (patch) | |
tree | 8cdfa8de3ecb6dd5ab9d76630ca4b6b8caddcca0 /sys | |
parent | 0cf407a241999fd495e040b59ad9b4c554c2e207 (diff) |
Reset scsi bus upon command timeout.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/oosiop.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/oosiop.c b/sys/dev/ic/oosiop.c index dc633457488..9767daeccb3 100644 --- a/sys/dev/ic/oosiop.c +++ b/sys/dev/ic/oosiop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: oosiop.c,v 1.1 2004/03/12 00:04:57 miod Exp $ */ +/* $OpenBSD: oosiop.c,v 1.2 2004/03/12 00:25:57 miod Exp $ */ /* $NetBSD: oosiop.c,v 1.4 2003/10/29 17:45:55 tsutsui Exp $ */ /* @@ -949,6 +949,8 @@ oosiop_timeout(void *arg) s = splbio(); + oosiop_reset_bus(sc); + cb->flags |= CBF_TIMEOUT; oosiop_done(sc, cb); |