From: Mark Spender Date: Thu, 16 Nov 2017 08:04:28 +0000 (+0000) Subject: net/sfc/base: allow to use PHY stats on Huntington/Medford X-Git-Tag: spdx-start~645 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=f5e50fb6283c07521f511012c0c8496826c2459c;p=dpdk.git net/sfc/base: allow to use PHY stats on Huntington/Medford EFSYS_OPT_PHY_STATS can be used with Huntington or Medford, not just Siena. Signed-off-by: Mark Spender Signed-off-by: Andrew Rybchenko --- diff --git a/drivers/net/sfc/base/efx_check.h b/drivers/net/sfc/base/efx_check.h index 4ed714837d..33c16a6fa8 100644 --- a/drivers/net/sfc/base/efx_check.h +++ b/drivers/net/sfc/base/efx_check.h @@ -259,8 +259,8 @@ #if EFSYS_OPT_PHY_STATS /* Support PHY statistics */ -# if !EFSYS_OPT_SIENA -# error "PHY_STATS requires SIENA" +# if !(EFSYS_OPT_SIENA || EFSYS_OPT_HUNTINGTON || EFSYS_OPT_MEDFORD) +# error "PHY_STATS requires SIENA or HUNTINGTON or MEDFORD" # endif #endif /* EFSYS_OPT_PHY_STATS */