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 structure defining FC-AL position maps. The o...
details: https://anonhg.NetBSD.org/src/rev/8a69ff63aa54
branches: trunk
changeset: 503758:8a69ff63aa54
user: mjacob <mjacob%NetBSD.org@localhost>
date: Mon Feb 12 23:32:44 2001 +0000
description:
Add structure defining FC-AL position maps. The only tool that I know of
that really uses this is luxadm(8) under Solaris.
diffstat:
sys/dev/ic/ispmbox.h | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
diffs (32 lines):
diff -r 1e33cac1376b -r 8a69ff63aa54 sys/dev/ic/ispmbox.h
--- a/sys/dev/ic/ispmbox.h Mon Feb 12 23:32:11 2001 +0000
+++ b/sys/dev/ic/ispmbox.h Mon Feb 12 23:32:44 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ispmbox.h,v 1.29 2001/01/09 18:56:06 mjacob Exp $ */
+/* $NetBSD: ispmbox.h,v 1.30 2001/02/12 23:32:44 mjacob Exp $ */
/*
* This driver, which is contained in NetBSD in the files:
*
@@ -621,6 +621,22 @@
array[ICB_NNM7] = (u_int8_t) ((wwn >> 56) & 0xff)
/*
+ * FC-AL Position Map
+ *
+ * This is an at most 128 byte map that returns either
+ * the LILP or Firmware generated list of ports.
+ *
+ * We deviate a bit from the returned qlogic format to
+ * use an extra bit to say whether this was a LILP or
+ * f/w generated map.
+ */
+typedef struct {
+ u_int8_t fwmap : 1,
+ count : 7;
+ u_int8_t map[127];
+} fcpos_map_t;
+
+/*
* Port Data Base Element
*/
Home |
Main Index |
Thread Index |
Old Index