mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-04 17:15:50 +00:00
Add structure defining FC-AL position maps. The only tool that I know of
that really uses this is luxadm(8) under Solaris.
This commit is contained in:
parent
b9b599fe4c
commit
b21d3f4ef8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=72354
@ -589,6 +589,22 @@ typedef struct isp_icb {
|
||||
array[ICB_NNM6] = (u_int8_t) ((wwn >> 48) & 0xff), \
|
||||
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
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user