Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Add a few opcodes for target mode. Define firmwar...



details:   https://anonhg.NetBSD.org/src/rev/6c1fb9b97124
branches:  trunk
changeset: 508036:6c1fb9b97124
user:      mjacob <mjacob%NetBSD.org@localhost>
date:      Thu Apr 05 02:28:53 2001 +0000

description:
Add a few opcodes for target mode. Define firmware attributes (for FC f/w).

diffstat:

 sys/dev/ic/ispmbox.h |  15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r eab4b2e75eab -r 6c1fb9b97124 sys/dev/ic/ispmbox.h
--- a/sys/dev/ic/ispmbox.h      Thu Apr 05 02:28:17 2001 +0000
+++ b/sys/dev/ic/ispmbox.h      Thu Apr 05 02:28:53 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ispmbox.h,v 1.31 2001/02/23 05:38:27 mjacob Exp $ */
+/* $NetBSD: ispmbox.h,v 1.32 2001/04/05 02:28:53 mjacob Exp $ */
 /*
  * This driver, which is contained in NetBSD in the files:
  *
@@ -140,6 +140,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
@@ -513,6 +516,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
  */
 



Home | Main Index | Thread Index | Old Index