/*
 * @DEC_COPYRIGHT@
 */
/*
 * HISTORY
 * $Log:	scsi_status.h,v $
 * Revision 1.1.3.2  92/06/02  11:20:54  cam_proj_Janet_Schank
 * 	Moved CAM include files from sys to io/cam
 * 	[92/05/13  08:26:27  Janet_Schank]
 * 
 * 	Made 64bit modifications
 * 	[92/01/31  10:05:10  Janet_Schank]
 * 
 * 	Merged in changes from LA.
 * 	[92/01/28  18:12:17  Janet_Schank]
 * 
 * 	CAM support added
 * 	[92/01/17  11:23:05  Janet_Schank]
 * 
 * Revision 1.1.3.2  92/02/27  16:14:55  cam_proj_Janet_Schank
 * 	"bsubmitted from shared SB"
 * 
 * $EndLog$
 */
/*
 * @(#)$RCSfile: scsi_status.h,v $ $Revision: 1.1.3.2 $ (DEC) $Date: 92/06/02 11:20:54 $
 */
#ifndef _SCSISTATUS_
#define _SCSISTATUS_

/* ---------------------------------------------------------------------- */

/* scsi_status.h	Version 1.02			Dec. 16, 1991 */

/*  This file contains the definitions as described in the SCSI-II spec,
    chapter six.

Modification History

	Version	  Date		Who	Reason

	1.00	11/09/90	janet	Created this file.
	1.01	03/26/91	janet	Changed name of file from scsi_chap6.h
	1.02	12/16/91	janet	Added SCSI_STAT_RESERVED define.
*/

/*
 * SCSI Status defines:
 */
#define SCSI_STAT_GOOD			0x00
#define SCSI_STAT_CHECK_CONDITION	0x02
#define SCSI_STAT_CONDITION_MET		0x04
#define SCSI_STAT_BUSY			0x08
#define SCSI_STAT_INTERMEDIATE		0x10
#define SCSI_STAT_INTER_COND_MET	0x14
#define SCSI_STAT_RESERVATION_CONFLICT	0x18
#define SCSI_STAT_COMMAND_TERMINATED	0x22
#define SCSI_STAT_QUEUE_FULL		0x28

/*
 * SCSI Status reserved bits.
 */
#define SCSI_STAT_RESERVED		0xc1

#endif /* _SCSISTATUS_ */
