diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2008-04-10 06:39:01 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2008-04-10 06:39:01 +0000 |
commit | 7df2155c114e4ecc55c6a01714e31fbd15d88d1b (patch) | |
tree | 5e3b681fa821142e7ae1d80bccc7745bf6e65dc6 /sys/dev/ic/amivar.h | |
parent | 2444d80f4a0fc67af0fd6f77f251f7110bc8032d (diff) |
the success of a command is reported in the mbox, but not passed on to the
completion routines to do anything useful with.
this stashes the commands status in the ccb for the ccb_done handlers to
use. the completion path for passthru commands now checks the mbox status
to see if the command actually works. this prevents phantom devices from
appearing on the passthru busses.
Diffstat (limited to 'sys/dev/ic/amivar.h')
-rw-r--r-- | sys/dev/ic/amivar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/amivar.h b/sys/dev/ic/amivar.h index 577bd0ba885..b448c7d14ad 100644 --- a/sys/dev/ic/amivar.h +++ b/sys/dev/ic/amivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: amivar.h,v 1.52 2007/03/22 16:55:31 deraadt Exp $ */ +/* $OpenBSD: amivar.h,v 1.53 2008/04/10 06:39:00 dlg Exp $ */ /* * Copyright (c) 2001 Michael Shalayeff @@ -70,6 +70,7 @@ struct ami_ccb { } ccb_state; int ccb_flags; #define AMI_CCB_F_ERR (1<<0) + int ccb_status; TAILQ_ENTRY(ami_ccb) ccb_link; }; |