diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/scsi/fc/fc_ns.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/scsi/fc/fc_ns.h b/include/scsi/fc/fc_ns.h index 185015dd1166..f7751d53f1d3 100644 --- a/include/scsi/fc/fc_ns.h +++ b/include/scsi/fc/fc_ns.h | |||
@@ -41,6 +41,7 @@ enum fc_ns_req { | |||
41 | FC_NS_GI_A = 0x0101, /* get identifiers - scope */ | 41 | FC_NS_GI_A = 0x0101, /* get identifiers - scope */ |
42 | FC_NS_GPN_ID = 0x0112, /* get port name by ID */ | 42 | FC_NS_GPN_ID = 0x0112, /* get port name by ID */ |
43 | FC_NS_GNN_ID = 0x0113, /* get node name by ID */ | 43 | FC_NS_GNN_ID = 0x0113, /* get node name by ID */ |
44 | FC_NS_GSPN_ID = 0x0118, /* get symbolic port name */ | ||
44 | FC_NS_GID_PN = 0x0121, /* get ID for port name */ | 45 | FC_NS_GID_PN = 0x0121, /* get ID for port name */ |
45 | FC_NS_GID_NN = 0x0131, /* get IDs for node name */ | 46 | FC_NS_GID_NN = 0x0131, /* get IDs for node name */ |
46 | FC_NS_GID_FT = 0x0171, /* get IDs by FC4 type */ | 47 | FC_NS_GID_FT = 0x0171, /* get IDs by FC4 type */ |
@@ -144,7 +145,7 @@ struct fc_ns_gid_pn { | |||
144 | }; | 145 | }; |
145 | 146 | ||
146 | /* | 147 | /* |
147 | * GID_PN response | 148 | * GID_PN response or GSPN_ID request |
148 | */ | 149 | */ |
149 | struct fc_gid_pn_resp { | 150 | struct fc_gid_pn_resp { |
150 | __u8 fp_resvd; | 151 | __u8 fp_resvd; |
@@ -152,6 +153,14 @@ struct fc_gid_pn_resp { | |||
152 | }; | 153 | }; |
153 | 154 | ||
154 | /* | 155 | /* |
156 | * GSPN_ID response | ||
157 | */ | ||
158 | struct fc_gspn_resp { | ||
159 | __u8 fp_name_len; | ||
160 | char fp_name[]; | ||
161 | }; | ||
162 | |||
163 | /* | ||
155 | * RFT_ID request - register FC-4 types for ID. | 164 | * RFT_ID request - register FC-4 types for ID. |
156 | */ | 165 | */ |
157 | struct fc_ns_rft_id { | 166 | struct fc_ns_rft_id { |