diff options
author | mjacob <mjacob@FreeBSD.org> | 2001-02-11 03:53:58 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2001-02-11 03:53:58 +0000 |
commit | 37fecb437e4460bac3f512f47b0f12270959cea4 (patch) | |
tree | b354d825be6c0af60d265ce125e756770603a513 | |
parent | bbfef87cbe0340c126ece600b5cf4cfa8a0a51ed (diff) | |
download | FreeBSD-src-37fecb437e4460bac3f512f47b0f12270959cea4.zip FreeBSD-src-37fecb437e4460bac3f512f47b0f12270959cea4.tar.gz |
Add structure defining FC-AL position maps. The only tool that I know of
that really uses this is luxadm(8) under Solaris.
-rw-r--r-- | sys/dev/isp/ispmbox.h | 16 |
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 */ |