Add some target mode definitions and firmware (FC only) attribute definitions.

This commit is contained in:
Matt Jacob 2001-04-04 21:44:10 +00:00
parent 56f7a63a7a
commit 8055acd82d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=75194

View File

@ -109,6 +109,9 @@
#define MBOX_ENABLE_TARGET_MODE 0x55
#define ENABLE_TARGET_FLAG 0x8000
#define ENABLE_TQING_FLAG 0x0004
#define ENABLE_MANDATORY_DISC 0x0002
#define MBOX_GET_TARGET_STATUS 0x56
/* These are for the ISP2100 FC cards */
#define MBOX_GET_LOOP_ID 0x20
@ -481,6 +484,16 @@ typedef struct {
#define ISP_EXEC_THROTTLE 16
#endif
/*
* About Firmware returns an 'attribute' word in mailbox 6.
*/
#define ISP_FW_ATTR_TMODE 0x01
#define ISP_FW_ATTR_SCCLUN 0x02
#define ISP_FW_ATTR_FABRIC 0x04
#define ISP_FW_ATTR_CLASS2 0x08
#define ISP_FW_ATTR_FCTAPE 0x10
#define ISP_FW_ATTR_IP 0x20
/*
* FC (ISP2100) specific data structures
*/