#ifndef lint
static  char Rcs2Id[] = "cip_err.h: $Revision: 1.2 $";
#endif

/*
 * One line messages for the controller errors
 */
char    *cipc_cntrlerr[] = {
/*     0 */     "No error",
/*     1 */     "Invalid board command",
/*     2 */     "Bad unit number or ID specified",
/*     3 */     "Floppy disk option not installed",
/*   4-A */	"","","","","","","",
/*     B */     "Reserved field not zero",
/*   C-D */     "","",
/*     E */     "Command list stopped",
/*     F */     "Bad command list size field",
/*    10 */     "Bad command list number to start/stop",
/*    11 */     "List state wrong for start/stop command",
/* 12-13 */     "","",
/*    14 */     "VMEbus timeout error",
/*    15 */     "Vmebus error reported by control chip",
/*    16 */     "Scatter/Gather Descriptor Block read error",
/* 17-1D */	"","","","","","","",
/*    1E */     "SCSI select timeout",
/*    1F */     "SCSI disconnect timeout",
/*    20 */     "SCSI parity error",
/*    21 */     "Unexpected SCSI disconnect",
/*    22 */     "Undefined or uninterpretable SCSI error",
/*    23 */     "SCSI device-specific error",
/*    24 */	"Unexpected SCSI Phase encountered",
/*    25 */	"Bad byte seen by SCSI Controller Chip",
/*    26 */     "Error in Synchronous Transfer Negotiation",
/*    27 */     "SCSI Bus Reset During Operation",
/*    28 */     "Target COmmand not Found",
/*    29 */     "This command must be issued with a command list",
/*    2A */	"Drive is write protected",
/*    2B */	"Vendor unique command setup improperly",
/*    2C */	"Bad SCSI chip condition",
/* 2D-2F */     "", "", "",
/* 30-3F */     "","","","","","","","","","","","","","","","",
/*    40 */     "Bad gap size found during format",
/*    41 */     "Command complete timeout",
/*    42 */     "Floppy disk unit not ready",
/*    43 */     "Seek fault on floppy drive",
/*    44 */     "CRC error in iD",
/*    45 */     "Write fault on drive",
/*    46 */     "Data CRC error",
/*    47 */     "Sector not found",
/*    48 */     "Floppy disk data lost from 2793",
/*    49 */     "Data underrun during operation",
/* 4A-4F */     "","","","","","",
/* 50-5F */     "","","","","","","","","","","","","","","","",
/* 60-6F */     "","","","","","","","","","","","","","","","",
/* 70-7F */     "","","","","","","","","","","","","","","",""
};

#define EE_NOERR        0x0            /* No error */
#define EE_SCSISELTO    0x1E           /* SCSI select timeout */
#define EE_SCSIERR      0x23           /* SCSI returned bad status */
#define EE_FRMERR       0x80           /* 80H and above are firmware errors */ 

/*
 * SCSI status (only relevent bits are defined)
 * SUN's scsi.h uses bitfields for these.
 */
#define CHECK_COND      0x02            /* Check condition */
#define DEVICE_BUSY     0x08            /* Busy */
#define RESV_CONF       0x18            /* Reservation conflict */
#define STATMASK        0x1E            /* Status mask */
