X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fcommon%2Fsfc_efx%2Fbase%2Fefx.h;h=c7fe814ca0b553a3e3a2b59041e3200507248aa8;hb=90ff7b9bf4910715feb29bb96308f162c6ada397;hp=2082efe023eb3c98b5a144d08695e0ae87847647;hpb=206ef24f8f7f2de658d0460daa856f3ff993d56d;p=dpdk.git diff --git a/drivers/common/sfc_efx/base/efx.h b/drivers/common/sfc_efx/base/efx.h index 2082efe023..c7fe814ca0 100644 --- a/drivers/common/sfc_efx/base/efx.h +++ b/drivers/common/sfc_efx/base/efx.h @@ -243,8 +243,8 @@ efx_nic_check_pcie_link_speed( #if EFSYS_OPT_MCDI -#if EFX_OPTS_EF10() -/* EF10 architecture NICs require MCDIv2 commands */ +#if EFSYS_OPT_RIVERHEAD || EFX_OPTS_EF10() +/* EF10 architecture and Riverhead NICs require MCDIv2 commands */ #define WITH_MCDI_V2 1 #endif @@ -1438,11 +1438,11 @@ typedef struct efx_nic_cfg_s { #if EFSYS_OPT_BIST uint32_t enc_bist_mask; #endif /* EFSYS_OPT_BIST */ -#if EFX_OPTS_EF10() +#if EFSYS_OPT_RIVERHEAD || EFX_OPTS_EF10() uint32_t enc_pf; uint32_t enc_vf; uint32_t enc_privilege_mask; -#endif /* EFX_OPTS_EF10() */ +#endif /* EFSYS_OPT_RIVERHEAD || EFX_OPTS_EF10() */ boolean_t enc_bug26807_workaround; boolean_t enc_bug35388_workaround; boolean_t enc_bug41750_workaround;