diff options
author | mjacob <mjacob@cvs.openbsd.org> | 2001-02-12 23:48:30 +0000 |
---|---|---|
committer | mjacob <mjacob@cvs.openbsd.org> | 2001-02-12 23:48:30 +0000 |
commit | 87a4cdedd87574bcd9b78d997e90159cb4fa3b23 (patch) | |
tree | 5b232b87488f039f947743b3b3c48f94846f8e0c /sys/dev/ic/ispmbox.h | |
parent | 3b916dd82a88ea7f5bfe7c57b0d3e1fc79241fdd (diff) |
Add structure defining FC-AL position maps. The only tool that I know of
that really uses this is luxadm(8) under Solaris.
Diffstat (limited to 'sys/dev/ic/ispmbox.h')
-rw-r--r-- | sys/dev/ic/ispmbox.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/sys/dev/ic/ispmbox.h b/sys/dev/ic/ispmbox.h index a636278f3be..404f6dbffe3 100644 --- a/sys/dev/ic/ispmbox.h +++ b/sys/dev/ic/ispmbox.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ispmbox.h,v 1.11 2001/01/09 03:28:12 mjacob Exp $ */ +/* $OpenBSD: ispmbox.h,v 1.12 2001/02/12 23:48:29 mjacob Exp $ */ /* * Mailbox and Queue Entry Definitions for for Qlogic ISP SCSI adapters. * @@ -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 */ |