aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bfa/include/protocol/fc.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/bfa/include/protocol/fc.h')
-rw-r--r--drivers/scsi/bfa/include/protocol/fc.h27
1 files changed, 16 insertions, 11 deletions
diff --git a/drivers/scsi/bfa/include/protocol/fc.h b/drivers/scsi/bfa/include/protocol/fc.h
index 3e39ba58cfb5..8d1038035a76 100644
--- a/drivers/scsi/bfa/include/protocol/fc.h
+++ b/drivers/scsi/bfa/include/protocol/fc.h
@@ -50,6 +50,11 @@ struct fchs_s {
50 50
51 u32 ro; /* relative offset */ 51 u32 ro; /* relative offset */
52}; 52};
53
54#define FC_SOF_LEN 4
55#define FC_EOF_LEN 4
56#define FC_CRC_LEN 4
57
53/* 58/*
54 * Fibre Channel BB_E Header Structure 59 * Fibre Channel BB_E Header Structure
55 */ 60 */
@@ -486,14 +491,14 @@ struct fc_rsi_s {
486 * see FC-PH-X table 113 & 115 for explanation also FCP table 8 491 * see FC-PH-X table 113 & 115 for explanation also FCP table 8
487 */ 492 */
488struct fc_prli_params_s{ 493struct fc_prli_params_s{
489 u32 reserved: 16; 494 u32 reserved:16;
490#ifdef __BIGENDIAN 495#ifdef __BIGENDIAN
491 u32 reserved1: 5; 496 u32 reserved1:5;
492 u32 rec_support : 1; 497 u32 rec_support:1;
493 u32 task_retry_id : 1; 498 u32 task_retry_id:1;
494 u32 retry : 1; 499 u32 retry:1;
495 500
496 u32 confirm : 1; 501 u32 confirm:1;
497 u32 doverlay:1; 502 u32 doverlay:1;
498 u32 initiator:1; 503 u32 initiator:1;
499 u32 target:1; 504 u32 target:1;
@@ -502,10 +507,10 @@ struct fc_prli_params_s{
502 u32 rxrdisab:1; 507 u32 rxrdisab:1;
503 u32 wxrdisab:1; 508 u32 wxrdisab:1;
504#else 509#else
505 u32 retry : 1; 510 u32 retry:1;
506 u32 task_retry_id : 1; 511 u32 task_retry_id:1;
507 u32 rec_support : 1; 512 u32 rec_support:1;
508 u32 reserved1: 5; 513 u32 reserved1:5;
509 514
510 u32 wxrdisab:1; 515 u32 wxrdisab:1;
511 u32 rxrdisab:1; 516 u32 rxrdisab:1;
@@ -514,7 +519,7 @@ struct fc_prli_params_s{
514 u32 target:1; 519 u32 target:1;
515 u32 initiator:1; 520 u32 initiator:1;
516 u32 doverlay:1; 521 u32 doverlay:1;
517 u32 confirm : 1; 522 u32 confirm:1;
518#endif 523#endif
519}; 524};
520 525