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 some Qlogic 2200 point-to-point and extended ...
details: https://anonhg.NetBSD.org/src/rev/1a626cc573e0
branches: trunk
changeset: 482009:1a626cc573e0
user: mjacob <mjacob%NetBSD.org@localhost>
date: Sat Feb 12 02:26:26 2000 +0000
description:
add some Qlogic 2200 point-to-point and extended ICBOPT definitions
diffstat:
sys/dev/ic/ispmbox.h | 25 ++++++++++++++++++++++++-
1 files changed, 24 insertions(+), 1 deletions(-)
diffs (46 lines):
diff -r 5c674fa34850 -r 1a626cc573e0 sys/dev/ic/ispmbox.h
--- a/sys/dev/ic/ispmbox.h Sat Feb 12 02:25:28 2000 +0000
+++ b/sys/dev/ic/ispmbox.h Sat Feb 12 02:26:26 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ispmbox.h,v 1.20 2000/01/06 02:59:43 mjacob Exp $ */
+/* $NetBSD: ispmbox.h,v 1.21 2000/02/12 02:26:26 mjacob Exp $ */
/*
* Copyright (C) 1997, 1998, 1999 National Aeronautics & Space Administration
* All rights reserved.
@@ -179,6 +179,15 @@
#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
*/
@@ -491,6 +500,20 @@
#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
Home |
Main Index |
Thread Index |
Old Index