aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMatt Jacob <mjacob@FreeBSD.org>2000-02-11 19:35:42 +0000
committerMatt Jacob <mjacob@FreeBSD.org>2000-02-11 19:35:42 +0000
commitc2e746733991ba9c2afd6e82cd9668faf566932c (patch)
tree26383b13dcd64032c33d3495b723effba3b14709 /sys/dev
parentc211f23b90c474d4fefff028cf633feeb9c8a2b8 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/isp/ispmbox.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/sys/dev/isp/ispmbox.h b/sys/dev/isp/ispmbox.h
index 92bfa3a368009..3493f408b18be 100644
--- a/sys/dev/isp/ispmbox.h
+++ b/sys/dev/isp/ispmbox.h
@@ -182,6 +182,15 @@ typedef struct {
#define ASYNC_PDB_CHANGED 0x8014
#define ASYNC_CHANGE_NOTIFY 0x8015
+/* for ISP2200 only */
+#define ASYNC_PTPMODE 0x8030
+#define ASYNC_CONNMODE 0x8036
+#define ISP_CONN_LOOP 1
+#define ISP_CONN_PTP 2
+#define ISP_CONN_BADLIP 3
+#define ISP_CONN_FATAL 4
+#define ISP_CONN_LOOPBACK 5
+
/*
* Command Structure Definitions
*/
@@ -494,6 +503,20 @@ typedef struct isp_icb {
#define ICBOPT_USE_PORTNAME 0x4000
#define ICBOPT_EXTENDED 0x8000
+#define ICBXOPT_CLASS2_ACK0 0x0200
+#define ICBXOPT_CLASS2 0x0100
+#define ICBXOPT_LOOP_ONLY (0 << 4)
+#define ICBXOPT_PTP_ONLY (1 << 4)
+#define ICBXOPT_LOOP_2_PTP (2 << 4)
+#define ICBXOPT_PTP_2_LOOP (3 << 4)
+
+#define ICBXOPT_RIO_OFF 0
+#define ICBXOPT_RIO_16BIT 1
+#define ICBXOPT_RIO_32BIT 2
+#define ICBXOPT_RIO_16BIT_DELAY 3
+#define ICBXOPT_RIO_32BIT_DELAY 4
+
+
#define ICB_MIN_FRMLEN 256
#define ICB_MAX_FRMLEN 2112