1818#ifndef __BFA_FC_H__
1919#define __BFA_FC_H__
2020
21- #include "bfa_os_inc .h"
21+ #include "bfad_drv .h"
2222
2323typedef u64 wwn_t ;
2424
@@ -62,7 +62,7 @@ struct scsi_cdb_s {
6262 * Fibre Channel Header Structure (FCHS) definition
6363 */
6464struct fchs_s {
65- #ifdef __BIGENDIAN
65+ #ifdef __BIG_ENDIAN
6666 u32 routing :4 ; /* routing bits */
6767 u32 cat_info :4 ; /* category info */
6868#else
@@ -317,7 +317,7 @@ struct fc_plogi_csp_s {
317317 u8 verlo ; /* FC-PH low version */
318318 __be16 bbcred ; /* BB_Credit */
319319
320- #ifdef __BIGENDIAN
320+ #ifdef __BIG_ENDIAN
321321 u8 ciro :1 , /* continuously increasing RO */
322322 rro :1 , /* random relative offset */
323323 npiv_supp :1 , /* NPIV supported */
@@ -367,7 +367,7 @@ struct fc_plogi_csp_s {
367367 * FC-PH-x. Figure 78. pg. 318.
368368 */
369369struct fc_plogi_clp_s {
370- #ifdef __BIGENDIAN
370+ #ifdef __BIG_ENDIAN
371371 u32 class_valid :1 ;
372372 u32 intermix :1 ; /* class intermix supported if set =1.
373373 * valid only for class1. Reserved for
@@ -532,7 +532,7 @@ struct fc_rsi_s {
532532 */
533533struct fc_prli_params_s {
534534 u32 reserved :16 ;
535- #ifdef __BIGENDIAN
535+ #ifdef __BIG_ENDIAN
536536 u32 reserved1 :5 ;
537537 u32 rec_support :1 ;
538538 u32 task_retry_id :1 ;
@@ -574,7 +574,7 @@ enum {
574574struct fc_prli_params_page_s {
575575 u32 type :8 ;
576576 u32 codext :8 ;
577- #ifdef __BIGENDIAN
577+ #ifdef __BIG_ENDIAN
578578 u32 origprocasv :1 ;
579579 u32 rsppav :1 ;
580580 u32 imagepair :1 ;
@@ -610,7 +610,7 @@ struct fc_prli_s {
610610struct fc_prlo_params_page_s {
611611 u32 type :8 ;
612612 u32 type_ext :8 ;
613- #ifdef __BIGENDIAN
613+ #ifdef __BIG_ENDIAN
614614 u32 opa_valid :1 ; /* originator process associator
615615 * valid
616616 */
@@ -646,7 +646,7 @@ struct fc_prlo_acc_params_page_s {
646646 u32 type :8 ;
647647 u32 type_ext :8 ;
648648
649- #ifdef __BIGENDIAN
649+ #ifdef __BIG_ENDIAN
650650 u32 opa_valid :1 ; /* originator process associator
651651 * valid
652652 */
@@ -803,7 +803,7 @@ struct fc_tprlo_params_page_s {
803803u32 type :8 ;
804804u32 type_ext :8 ;
805805
806- #ifdef __BIGENDIAN
806+ #ifdef __BIG_ENDIAN
807807 u32 opa_valid :1 ;
808808 u32 rpa_valid :1 ;
809809 u32 tpo_nport_valid :1 ;
@@ -1177,7 +1177,7 @@ struct fc_srr_s {
11771177struct fcp_cmnd_s {
11781178 struct scsi_lun lun ; /* 64-bit LU number */
11791179 u8 crn ; /* command reference number */
1180- #ifdef __BIGENDIAN
1180+ #ifdef __BIG_ENDIAN
11811181 u8 resvd :1 ,
11821182 priority :4 , /* FCP-3: SAM-3 priority */
11831183 taskattr :3 ; /* scsi task attribute */
@@ -1187,7 +1187,7 @@ struct fcp_cmnd_s {
11871187 resvd :1 ;
11881188#endif
11891189 u8 tm_flags ; /* task management flags */
1190- #ifdef __BIGENDIAN
1190+ #ifdef __BIG_ENDIAN
11911191 u8 addl_cdb_len :6 , /* additional CDB length words */
11921192 iodir :2 ; /* read/write FCP_DATA IUs */
11931193#else
@@ -1273,7 +1273,7 @@ struct fcp_rspinfo_s {
12731273struct fcp_resp_s {
12741274 u32 reserved [2 ]; /* 2 words reserved */
12751275 u16 reserved2 ;
1276- #ifdef __BIGENDIAN
1276+ #ifdef __BIG_ENDIAN
12771277 u8 reserved3 :3 ;
12781278 u8 fcp_conf_req :1 ; /* FCP_CONF is requested */
12791279 u8 resid_flags :2 ; /* underflow/overflow */
0 commit comments