diff options
Diffstat (limited to 'include/scsi/fc/fc_els.h')
-rw-r--r-- | include/scsi/fc/fc_els.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/scsi/fc/fc_els.h b/include/scsi/fc/fc_els.h index f94328132a26..481abbd48e39 100644 --- a/include/scsi/fc/fc_els.h +++ b/include/scsi/fc/fc_els.h | |||
@@ -191,6 +191,7 @@ enum fc_els_rjt_reason { | |||
191 | ELS_RJT_UNAB = 0x09, /* unable to perform command request */ | 191 | ELS_RJT_UNAB = 0x09, /* unable to perform command request */ |
192 | ELS_RJT_UNSUP = 0x0b, /* command not supported */ | 192 | ELS_RJT_UNSUP = 0x0b, /* command not supported */ |
193 | ELS_RJT_INPROG = 0x0e, /* command already in progress */ | 193 | ELS_RJT_INPROG = 0x0e, /* command already in progress */ |
194 | ELS_RJT_FIP = 0x20, /* FIP error */ | ||
194 | ELS_RJT_VENDOR = 0xff, /* vendor specific error */ | 195 | ELS_RJT_VENDOR = 0xff, /* vendor specific error */ |
195 | }; | 196 | }; |
196 | 197 | ||
@@ -212,6 +213,7 @@ enum fc_els_rjt_explan { | |||
212 | ELS_EXPL_UNAB_DATA = 0x2a, /* unable to supply requested data */ | 213 | ELS_EXPL_UNAB_DATA = 0x2a, /* unable to supply requested data */ |
213 | ELS_EXPL_UNSUPR = 0x2c, /* Request not supported */ | 214 | ELS_EXPL_UNSUPR = 0x2c, /* Request not supported */ |
214 | ELS_EXPL_INV_LEN = 0x2d, /* Invalid payload length */ | 215 | ELS_EXPL_INV_LEN = 0x2d, /* Invalid payload length */ |
216 | ELS_EXPL_NOT_NEIGHBOR = 0x62, /* VN2VN_Port not in neighbor set */ | ||
215 | /* TBD - above definitions incomplete */ | 217 | /* TBD - above definitions incomplete */ |
216 | }; | 218 | }; |
217 | 219 | ||
@@ -405,6 +407,15 @@ struct fc_els_prli { | |||
405 | }; | 407 | }; |
406 | 408 | ||
407 | /* | 409 | /* |
410 | * ELS_PRLO - Process logout request and response. | ||
411 | */ | ||
412 | struct fc_els_prlo { | ||
413 | __u8 prlo_cmd; /* command */ | ||
414 | __u8 prlo_obs; /* obsolete, but shall be set to 10h */ | ||
415 | __be16 prlo_len; /* payload length */ | ||
416 | }; | ||
417 | |||
418 | /* | ||
408 | * ELS_ADISC payload | 419 | * ELS_ADISC payload |
409 | */ | 420 | */ |
410 | struct fc_els_adisc { | 421 | struct fc_els_adisc { |