summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2001-04-04 21:44:10 +0000
committermjacob <mjacob@FreeBSD.org>2001-04-04 21:44:10 +0000
commit9fe0cc74a2e1557ca10ccfd8ab7bcecef4892c16 (patch)
tree8d14e36b6e3be3eeed56d86bc4b1449ef510a124
parentb5801bd529bcf206e0ee9dd5f25f1bdc97bc1bec (diff)
downloadFreeBSD-src-9fe0cc74a2e1557ca10ccfd8ab7bcecef4892c16.zip
FreeBSD-src-9fe0cc74a2e1557ca10ccfd8ab7bcecef4892c16.tar.gz
Add some target mode definitions and firmware (FC only) attribute definitions.
-rw-r--r--sys/dev/isp/ispmbox.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/dev/isp/ispmbox.h b/sys/dev/isp/ispmbox.h
index ce2fe06..8d01c61 100644
--- a/sys/dev/isp/ispmbox.h
+++ b/sys/dev/isp/ispmbox.h
@@ -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
@@ -482,6 +485,16 @@ typedef struct {
#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
*/
OpenPOWER on IntegriCloud