summaryrefslogtreecommitdiffstats
path: root/sys/dev/isp/ispmbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/isp/ispmbox.h')
-rw-r--r--sys/dev/isp/ispmbox.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys/dev/isp/ispmbox.h b/sys/dev/isp/ispmbox.h
index 28da593..bf0fc35 100644
--- a/sys/dev/isp/ispmbox.h
+++ b/sys/dev/isp/ispmbox.h
@@ -590,6 +590,22 @@ typedef struct isp_icb {
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
*/
OpenPOWER on IntegriCloud