diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2001-11-11 21:38:18 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2001-11-11 21:38:18 +0000 |
commit | 2724970bafb70b3309e7bce0a52a619fce5dfac2 (patch) | |
tree | 7411d84159ffd6cfc8adee508556bac65255ef6e /sys/scsi | |
parent | 22893dc58d818f447b92c50b32754ec8ef010a34 (diff) |
Add missing values for SCSI status byte. Add new name for 0x28 to
reflect SCSI-3 editorial change from QUEUE FULL to TASK SET FULL.
Use same names as NetBSD where possible.
Some from NetBSD, some from Ashley M, some from SCSI-3 docs.
Now to edit drivers to use new constants instead of their own.
Diffstat (limited to 'sys/scsi')
-rw-r--r-- | sys/scsi/scsi_all.h | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/sys/scsi/scsi_all.h b/sys/scsi/scsi_all.h index e7eed34422b..a0bc2d01886 100644 --- a/sys/scsi/scsi_all.h +++ b/sys/scsi/scsi_all.h @@ -1,4 +1,4 @@ -/* $OpenBSD: scsi_all.h,v 1.11 2001/06/22 14:35:42 deraadt Exp $ */ +/* $OpenBSD: scsi_all.h,v 1.12 2001/11/11 21:38:17 krw Exp $ */ /* $NetBSD: scsi_all.h,v 1.10 1996/09/12 01:57:17 thorpej Exp $ */ /* @@ -316,10 +316,16 @@ struct scsi_mode_header_big { /* * Status Byte */ -#define SCSI_OK 0x00 -#define SCSI_CHECK 0x02 -#define SCSI_BUSY 0x08 -#define SCSI_INTERM 0x10 -#define SCSI_QUEUE_FULL 0x28 +#define SCSI_OK 0x00 +#define SCSI_CHECK 0x02 +#define SCSI_COND_MET 0x04 +#define SCSI_BUSY 0x08 +#define SCSI_INTERM 0x10 +#define SCSI_INTERM_COND_MET 0x14 +#define SCSI_RESV_CONFLICT 0x18 +#define SCSI_TERMINATED 0x22 +#define SCSI_QUEUE_FULL 0x28 /* Old (Pre SCSI-3) name */ +#define SCSI_TASKSET_FULL 0x28 /* New (SCSI-3) name */ +#define SCSI_ACA_ACTIVE 0x30 #endif /* _SCSI_SCSI_ALL_H */ |