/* All commands except 0x00 generate an interrupt */ #define WD719X_CMD_READY 0x00 /* Command register ready (or noop) */ #define WD719X_CMD_INIT_RISC 0x01 /* Initialize RISC */ /* 0x02 is reserved */ #define WD719X_CMD_BUSRESET 0x03 /* Assert SCSI bus reset */ #define WD719X_CMD_READ_FIRMVER 0x04 /* Read the Firmware Revision */ #define WD719X_CMD_ECHO_BYTES 0x05 /* Echo command bytes (DW) */ /* 0x06 is reserved */ /* 0x07 is reserved */ #define WD719X_CMD_GET_PARAM 0x08 /* Get programmable parameters */ #define WD719X_CMD_SET_PARAM 0x09 /* Set programmable parameters */ #define WD719X_CMD_SLEEP 0x0a /* Put SPIDER to sleep */ #define WD719X_CMD_READ_INIT 0x0b /* Read initialization parameters */ #define WD719X_CMD_RESTORE_INIT 0x0c /* Restore initialization parameters */ /* 0x0d is reserved */ /* 0x0e is reserved */ /* 0x0f is reserved */ #define WD719X_CMD_ABORT_TAG 0x10 /* Send Abort tag message to target */ #define WD719X_CMD_ABORT 0x11 /* Send Abort message to target */ #define WD719X_CMD_RESET 0x12 /* Send Reset message to target */ #define WD719X_CMD_INIT_SCAM 0x13 /* Initiate SCAM */ #define WD719X_CMD_GET_SYNC 0x14 /* Get synchronous rates */ #define WD719X_CMD_SET_SYNC 0x15 /* Set synchronous rates */ #define WD719X_CMD_GET_WIDTH 0x16 /* Get SCSI bus width */ #define WD719X_CMD_SET_WIDTH 0x17 /* Set SCSI bus width */ #define WD719X_CMD_GET_TAGS 0x18 /* Get tag flags */ #define WD719X_CMD_SET_TAGS 0x19 /* Set tag flags */ #define WD719X_CMD_GET_PARAM2 0x1a /* Get programmable params (format 2) */ #define WD719X_CMD_SET_PARAM2 0x1b /* Set programmable params (format 2) */ /* Commands with request pointers (mailbox) */ #define WD719X_CMD_PROCESS_SCB 0x80 /* Process SCSI Control Block (SCB) */ /* No interrupt generated on acceptance of SCB pointer */
/* interrupt status defines */ #define WD719X_INT_NONE 0x00 /* No interrupt pending */ #define WD719X_INT_NOERRORS 0x01 /* Command completed with no errors */ #define WD719X_INT_LINKNOERRORS 0x02 /* link cmd completed with no errors */ #define WD719X_INT_LINKNOSTATUS 0x03 /* link cmd completed with no flag set */ #define WD719X_INT_ERRORSLOGGED 0x04 /* cmd completed with errors logged */ #define WD719X_INT_SPIDERFAILED 0x05 /* cmd failed without valid SCSI status */ #define WD719X_INT_BADINT 0x80 /* unsolicited interrupt */ #define WD719X_INT_PIOREADY 0xf0 /* data ready for PIO output */
/* Spider Unique Error Codes (SUE) */ #define WD719X_SUE_NOERRORS 0x00 /* No errors detected by SPIDER */ #define WD719X_SUE_REJECTED 0x01 /* Command Rejected (bad opcode/param) */ #define WD719X_SUE_SCBQFULL 0x02 /* SCB queue full */ /* 0x03 is reserved */ #define WD719X_SUE_TERM 0x04 /* Host terminated SCB via primative cmd */ #define WD719X_SUE_CHAN1PAR 0x05 /* PCI Channel 1 parity error occurred */ #define WD719X_SUE_CHAN1ABORT 0x06 /* PCI Channel 1 system abort occurred */ #define WD719X_SUE_CHAN23PAR 0x07 /* PCI Channel 2/3 parity error occurred */ #define WD719X_SUE_CHAN23ABORT 0x08 /* PCI Channel 2/3 system abort occurred */ #define WD719X_SUE_TIMEOUT 0x10 /* Selection/reselection timeout */ #define WD719X_SUE_RESET 0x11 /* SCSI bus reset occurred */ #define WD719X_SUE_BUSERROR 0x12 /* SCSI bus error */ #define WD719X_SUE_WRONGWAY 0x13 /* Wrong data transfer dir set by target */ #define WD719X_SUE_BADPHASE 0x14 /* SCSI phase illegal or unexpected */ #define WD719X_SUE_TOOLONG 0x15 /* target requested too much data */ #define WD719X_SUE_BUSFREE 0x16 /* Unexpected SCSI bus free */ #define WD719X_SUE_ARSDONE 0x17 /* Auto request sense executed */ #define WD719X_SUE_IGNORED 0x18 /* SCSI message was ignored by target */ #define WD719X_SUE_WRONGTAGS 0x19 /* Tagged SCB & tags off (or vice versa) */ #define WD719X_SUE_BADTAGS 0x1a /* Wrong tag message type for target */ #define WD719X_SUE_NOSCAMID 0x1b /* No SCAM soft ID available */
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.