2018-01-08 13:35:34 +00:00
|
|
|
/* SPDX-License-Identifier: BSD-3-Clause
|
2016-11-29 16:18:34 +00:00
|
|
|
*
|
2018-01-08 13:35:34 +00:00
|
|
|
* Copyright (c) 2012-2018 Solarflare Communications Inc.
|
|
|
|
* All rights reserved.
|
2016-11-29 16:18:34 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _SYS_EFX_CHECK_H
|
|
|
|
#define _SYS_EFX_CHECK_H
|
|
|
|
|
|
|
|
#include "efsys.h"
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Check that the efsys.h header in client code has a valid combination of
|
|
|
|
* EFSYS_OPT_xxx options.
|
|
|
|
*
|
|
|
|
* NOTE: Keep checks for obsolete options here to ensure that they are removed
|
|
|
|
* from client code (and do not reappear in merges from other branches).
|
|
|
|
*/
|
|
|
|
|
2019-02-07 16:29:39 +00:00
|
|
|
/* Check family options for EF10 architecture controllers. */
|
|
|
|
#define EFX_OPTS_EF10() \
|
|
|
|
(EFSYS_OPT_HUNTINGTON || EFSYS_OPT_MEDFORD || EFSYS_OPT_MEDFORD2)
|
|
|
|
|
2016-11-29 16:18:34 +00:00
|
|
|
#ifdef EFSYS_OPT_FALCON
|
|
|
|
# error "FALCON is obsolete and is not supported."
|
|
|
|
#endif
|
|
|
|
|
2016-11-29 16:19:00 +00:00
|
|
|
#if EFSYS_OPT_BOOTCFG
|
|
|
|
/* Support NVRAM based boot config */
|
|
|
|
# if !EFSYS_OPT_NVRAM
|
|
|
|
# error "BOOTCFG requires NVRAM"
|
|
|
|
# endif
|
|
|
|
#endif /* EFSYS_OPT_BOOTCFG */
|
|
|
|
|
2016-11-29 16:18:34 +00:00
|
|
|
#if EFSYS_OPT_CHECK_REG
|
|
|
|
/* Verify chip implements accessed registers */
|
2019-02-07 16:29:39 +00:00
|
|
|
# if !(EFX_OPTS_EF10() || EFSYS_OPT_SIENA)
|
|
|
|
# error "CHECK_REG requires EF10 arch or SIENA"
|
2016-11-29 16:18:41 +00:00
|
|
|
# endif
|
2016-11-29 16:18:34 +00:00
|
|
|
#endif /* EFSYS_OPT_CHECK_REG */
|
|
|
|
|
|
|
|
#if EFSYS_OPT_DECODE_INTR_FATAL
|
|
|
|
/* Decode fatal errors */
|
2016-11-29 16:18:41 +00:00
|
|
|
# if !EFSYS_OPT_SIENA
|
2016-11-29 16:18:34 +00:00
|
|
|
# error "INTR_FATAL requires SIENA"
|
2016-11-29 16:18:41 +00:00
|
|
|
# endif
|
2016-11-29 16:18:34 +00:00
|
|
|
#endif /* EFSYS_OPT_DECODE_INTR_FATAL */
|
|
|
|
|
2016-11-29 16:18:44 +00:00
|
|
|
#if EFSYS_OPT_DIAG
|
|
|
|
/* Support diagnostic hardware tests */
|
2019-02-07 16:29:39 +00:00
|
|
|
# if !(EFX_OPTS_EF10() || EFSYS_OPT_SIENA)
|
|
|
|
# error "DIAG requires EF10 arch or SIENA"
|
2016-11-29 16:18:44 +00:00
|
|
|
# endif
|
|
|
|
#endif /* EFSYS_OPT_DIAG */
|
|
|
|
|
2016-11-29 16:18:51 +00:00
|
|
|
#if EFSYS_OPT_EV_PREFETCH
|
|
|
|
/* Support optimized EVQ data access */
|
2019-02-07 16:29:39 +00:00
|
|
|
# if !(EFX_OPTS_EF10() || EFSYS_OPT_SIENA)
|
|
|
|
# error "EV_PREFETCH requires EF10 arch or SIENA"
|
2016-11-29 16:18:51 +00:00
|
|
|
# endif
|
|
|
|
#endif /* EFSYS_OPT_EV_PREFETCH */
|
|
|
|
|
2016-11-29 16:18:34 +00:00
|
|
|
#ifdef EFSYS_OPT_FALCON_NIC_CFG_OVERRIDE
|
|
|
|
# error "FALCON_NIC_CFG_OVERRIDE is obsolete and is not supported."
|
|
|
|
#endif
|
|
|
|
|
2016-11-29 16:18:36 +00:00
|
|
|
#if EFSYS_OPT_FILTER
|
|
|
|
/* Support hardware packet filters */
|
2019-02-07 16:29:39 +00:00
|
|
|
# if !(EFX_OPTS_EF10() || EFSYS_OPT_SIENA)
|
|
|
|
# error "FILTER requires EF10 arch or SIENA"
|
2016-11-29 16:18:41 +00:00
|
|
|
# endif
|
2016-11-29 16:18:36 +00:00
|
|
|
#endif /* EFSYS_OPT_FILTER */
|
|
|
|
|
2019-02-07 16:29:39 +00:00
|
|
|
#if EFX_OPTS_EF10()
|
2016-11-29 16:18:42 +00:00
|
|
|
# if !EFSYS_OPT_FILTER
|
2019-02-07 16:29:39 +00:00
|
|
|
# error "EF10 arch requires FILTER"
|
2016-11-29 16:18:42 +00:00
|
|
|
# endif
|
2019-02-07 16:29:39 +00:00
|
|
|
#endif /* EFX_OPTS_EF10() */
|
2016-11-29 16:18:42 +00:00
|
|
|
|
2016-11-29 16:18:54 +00:00
|
|
|
#if EFSYS_OPT_LOOPBACK
|
|
|
|
/* Support hardware loopback modes */
|
2019-02-07 16:29:39 +00:00
|
|
|
# if !(EFX_OPTS_EF10() || EFSYS_OPT_SIENA)
|
|
|
|
# error "LOOPBACK requires EF10 arch or SIENA"
|
2016-11-29 16:18:54 +00:00
|
|
|
# endif
|
|
|
|
#endif /* EFSYS_OPT_LOOPBACK */
|
|
|
|
|
2016-11-29 16:18:34 +00:00
|
|
|
#ifdef EFSYS_OPT_MAC_FALCON_GMAC
|
|
|
|
# error "MAC_FALCON_GMAC is obsolete and is not supported."
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef EFSYS_OPT_MAC_FALCON_XMAC
|
|
|
|
# error "MAC_FALCON_XMAC is obsolete and is not supported."
|
|
|
|
#endif
|
|
|
|
|
2016-11-29 16:18:50 +00:00
|
|
|
#if EFSYS_OPT_MAC_STATS
|
|
|
|
/* Support MAC statistics */
|
2019-02-07 16:29:39 +00:00
|
|
|
# if !(EFX_OPTS_EF10() || EFSYS_OPT_SIENA)
|
|
|
|
# error "MAC_STATS requires EF10 arch or SIENA"
|
2016-11-29 16:18:50 +00:00
|
|
|
# endif
|
|
|
|
#endif /* EFSYS_OPT_MAC_STATS */
|
|
|
|
|
2016-11-29 16:18:38 +00:00
|
|
|
#if EFSYS_OPT_MCDI
|
|
|
|
/* Support management controller messages */
|
2019-02-07 16:29:39 +00:00
|
|
|
# if !(EFX_OPTS_EF10() || EFSYS_OPT_SIENA)
|
|
|
|
# error "MCDI requires EF10 arch or SIENA"
|
2016-11-29 16:18:41 +00:00
|
|
|
# endif
|
2016-11-29 16:18:38 +00:00
|
|
|
#endif /* EFSYS_OPT_MCDI */
|
|
|
|
|
2019-02-07 16:29:39 +00:00
|
|
|
#if (EFX_OPTS_EF10() || EFSYS_OPT_SIENA)
|
2016-11-29 16:18:41 +00:00
|
|
|
# if !EFSYS_OPT_MCDI
|
2019-02-07 16:29:39 +00:00
|
|
|
# error "EF10 arch or SIENA requires MCDI"
|
2016-11-29 16:18:41 +00:00
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
|
2016-11-29 16:18:39 +00:00
|
|
|
#if EFSYS_OPT_MCDI_LOGGING
|
|
|
|
/* Support MCDI logging */
|
|
|
|
# if !EFSYS_OPT_MCDI
|
|
|
|
# error "MCDI_LOGGING requires MCDI"
|
|
|
|
# endif
|
|
|
|
#endif /* EFSYS_OPT_MCDI_LOGGING */
|
|
|
|
|
2019-06-10 08:38:40 +01:00
|
|
|
#if EFSYS_OPT_MCDI_PROXY_AUTH_SERVER
|
|
|
|
/* Support MCDI proxy authorization (server) */
|
|
|
|
# if !EFSYS_OPT_MCDI_PROXY_AUTH
|
|
|
|
# error "MCDI_PROXY_AUTH_SERVER requires MCDI_PROXY_AUTH"
|
|
|
|
# endif
|
|
|
|
#endif /* EFSYS_OPT_MCDI_PROXY_AUTH_SERVER */
|
|
|
|
|
2016-11-29 16:18:40 +00:00
|
|
|
#if EFSYS_OPT_MCDI_PROXY_AUTH
|
2019-06-10 08:38:40 +01:00
|
|
|
/* Support MCDI proxy authorization (client) */
|
2016-11-29 16:18:40 +00:00
|
|
|
# if !EFSYS_OPT_MCDI
|
|
|
|
# error "MCDI_PROXY_AUTH requires MCDI"
|
|
|
|
# endif
|
|
|
|
#endif /* EFSYS_OPT_MCDI_PROXY_AUTH */
|
|
|
|
|
2016-11-29 16:18:34 +00:00
|
|
|
#ifdef EFSYS_OPT_MON_LM87
|
|
|
|
# error "MON_LM87 is obsolete and is not supported."
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef EFSYS_OPT_MON_MAX6647
|
|
|
|
# error "MON_MAX6647 is obsolete and is not supported."
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef EFSYS_OPT_MON_NULL
|
|
|
|
# error "MON_NULL is obsolete and is not supported."
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef EFSYS_OPT_MON_SIENA
|
|
|
|
# error "MON_SIENA is obsolete (replaced by MON_MCDI)."
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef EFSYS_OPT_MON_HUNTINGTON
|
|
|
|
# error "MON_HUNTINGTON is obsolete (replaced by MON_MCDI)."
|
|
|
|
#endif
|
|
|
|
|
2016-11-29 16:18:55 +00:00
|
|
|
#if EFSYS_OPT_MON_STATS
|
|
|
|
/* Support monitor statistics (voltage/temperature) */
|
2019-02-07 16:29:39 +00:00
|
|
|
# if !(EFX_OPTS_EF10() || EFSYS_OPT_SIENA)
|
|
|
|
# error "MON_STATS requires EF10 arch or SIENA"
|
2016-11-29 16:18:55 +00:00
|
|
|
# endif
|
|
|
|
#endif /* EFSYS_OPT_MON_STATS */
|
|
|
|
|
2016-11-29 16:18:56 +00:00
|
|
|
#if EFSYS_OPT_MON_MCDI
|
|
|
|
/* Support Monitor via mcdi */
|
2019-02-07 16:29:39 +00:00
|
|
|
# if !(EFX_OPTS_EF10() || EFSYS_OPT_SIENA)
|
|
|
|
# error "MON_MCDI requires EF10 arch or SIENA"
|
2016-11-29 16:18:56 +00:00
|
|
|
# endif
|
|
|
|
#endif /* EFSYS_OPT_MON_MCDI*/
|
|
|
|
|
2016-11-29 16:18:34 +00:00
|
|
|
#if EFSYS_OPT_NAMES
|
|
|
|
/* Support printable names for statistics */
|
|
|
|
# if !(EFSYS_OPT_LOOPBACK || EFSYS_OPT_MAC_STATS || EFSYS_OPT_MCDI || \
|
|
|
|
EFSYS_MON_STATS || EFSYS_OPT_PHY_STATS || EFSYS_OPT_QSTATS)
|
|
|
|
# error "NAMES requires LOOPBACK or xxxSTATS or MCDI"
|
|
|
|
# endif
|
|
|
|
#endif /* EFSYS_OPT_NAMES */
|
|
|
|
|
2016-11-29 16:18:58 +00:00
|
|
|
#if EFSYS_OPT_NVRAM
|
|
|
|
/* Support non volatile configuration */
|
2019-02-07 16:29:39 +00:00
|
|
|
# if !(EFX_OPTS_EF10() || EFSYS_OPT_SIENA)
|
|
|
|
# error "NVRAM requires EF10 arch or SIENA"
|
2016-11-29 16:18:58 +00:00
|
|
|
# endif
|
|
|
|
#endif /* EFSYS_OPT_NVRAM */
|
|
|
|
|
2018-02-20 07:34:36 +00:00
|
|
|
#if EFSYS_OPT_IMAGE_LAYOUT
|
|
|
|
/* Support signed image layout handling */
|
|
|
|
# if !(EFSYS_OPT_MEDFORD || EFSYS_OPT_MEDFORD2)
|
|
|
|
# error "IMAGE_LAYOUT requires MEDFORD or MEDFORD2"
|
|
|
|
# endif
|
|
|
|
#endif /* EFSYS_OPT_IMAGE_LAYOUT */
|
|
|
|
|
2016-11-29 16:18:34 +00:00
|
|
|
#ifdef EFSYS_OPT_NVRAM_FALCON_BOOTROM
|
|
|
|
# error "NVRAM_FALCON_BOOTROM is obsolete and is not supported."
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef EFSYS_OPT_NVRAM_SFT9001
|
|
|
|
# error "NVRAM_SFT9001 is obsolete and is not supported."
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef EFSYS_OPT_NVRAM_SFX7101
|
|
|
|
# error "NVRAM_SFX7101 is obsolete and is not supported."
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef EFSYS_OPT_PCIE_TUNE
|
|
|
|
# error "PCIE_TUNE is obsolete and is not supported."
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef EFSYS_OPT_PHY_BIST
|
|
|
|
# error "PHY_BIST is obsolete (replaced by BIST)."
|
|
|
|
#endif
|
|
|
|
|
2016-11-29 16:18:47 +00:00
|
|
|
#if EFSYS_OPT_PHY_FLAGS
|
|
|
|
/* Support PHY flags */
|
|
|
|
# if !EFSYS_OPT_SIENA
|
|
|
|
# error "PHY_FLAGS requires SIENA"
|
|
|
|
# endif
|
|
|
|
#endif /* EFSYS_OPT_PHY_FLAGS */
|
|
|
|
|
2016-11-29 16:18:49 +00:00
|
|
|
#if EFSYS_OPT_PHY_LED_CONTROL
|
|
|
|
/* Support for PHY LED control */
|
2019-02-07 16:29:39 +00:00
|
|
|
# if !(EFX_OPTS_EF10() || EFSYS_OPT_SIENA)
|
|
|
|
# error "PHY_LED_CONTROL requires EF10 arch or SIENA"
|
2016-11-29 16:18:49 +00:00
|
|
|
# endif
|
|
|
|
#endif /* EFSYS_OPT_PHY_LED_CONTROL */
|
|
|
|
|
2016-11-29 16:18:34 +00:00
|
|
|
#ifdef EFSYS_OPT_PHY_NULL
|
|
|
|
# error "PHY_NULL is obsolete and is not supported."
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef EFSYS_OPT_PHY_PM8358
|
|
|
|
# error "PHY_PM8358 is obsolete and is not supported."
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef EFSYS_OPT_PHY_PROPS
|
|
|
|
# error "PHY_PROPS is obsolete and is not supported."
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef EFSYS_OPT_PHY_QT2022C2
|
|
|
|
# error "PHY_QT2022C2 is obsolete and is not supported."
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef EFSYS_OPT_PHY_QT2025C
|
|
|
|
# error "PHY_QT2025C is obsolete and is not supported."
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef EFSYS_OPT_PHY_SFT9001
|
|
|
|
# error "PHY_SFT9001 is obsolete and is not supported."
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef EFSYS_OPT_PHY_SFX7101
|
|
|
|
# error "PHY_SFX7101 is obsolete and is not supported."
|
|
|
|
#endif
|
|
|
|
|
2016-11-29 16:18:48 +00:00
|
|
|
#if EFSYS_OPT_PHY_STATS
|
|
|
|
/* Support PHY statistics */
|
2017-11-16 08:04:28 +00:00
|
|
|
# if !(EFSYS_OPT_SIENA || EFSYS_OPT_HUNTINGTON || EFSYS_OPT_MEDFORD)
|
|
|
|
# error "PHY_STATS requires SIENA or HUNTINGTON or MEDFORD"
|
2016-11-29 16:18:48 +00:00
|
|
|
# endif
|
|
|
|
#endif /* EFSYS_OPT_PHY_STATS */
|
|
|
|
|
2016-11-29 16:18:34 +00:00
|
|
|
#ifdef EFSYS_OPT_PHY_TXC43128
|
|
|
|
# error "PHY_TXC43128 is obsolete and is not supported."
|
|
|
|
#endif
|
|
|
|
|
2016-11-29 16:18:46 +00:00
|
|
|
#if EFSYS_OPT_QSTATS
|
|
|
|
/* Support EVQ/RXQ/TXQ statistics */
|
2019-02-07 16:29:39 +00:00
|
|
|
# if !(EFX_OPTS_EF10() || EFSYS_OPT_SIENA)
|
|
|
|
# error "QSTATS requires EF10 arch or SIENA"
|
2016-11-29 16:18:46 +00:00
|
|
|
# endif
|
|
|
|
#endif /* EFSYS_OPT_QSTATS */
|
|
|
|
|
2016-11-29 16:18:34 +00:00
|
|
|
#ifdef EFSYS_OPT_RX_HDR_SPLIT
|
|
|
|
# error "RX_HDR_SPLIT is obsolete and is not supported"
|
|
|
|
#endif
|
|
|
|
|
2016-11-29 16:18:53 +00:00
|
|
|
#if EFSYS_OPT_RX_SCALE
|
|
|
|
/* Support receive scaling (RSS) */
|
2019-02-07 16:29:39 +00:00
|
|
|
# if !(EFX_OPTS_EF10() || EFSYS_OPT_SIENA)
|
|
|
|
# error "RX_SCALE requires EF10 arch or SIENA"
|
2016-11-29 16:18:53 +00:00
|
|
|
# endif
|
|
|
|
#endif /* EFSYS_OPT_RX_SCALE */
|
|
|
|
|
2016-11-29 16:18:52 +00:00
|
|
|
#if EFSYS_OPT_RX_SCATTER
|
|
|
|
/* Support receive scatter DMA */
|
2019-02-07 16:29:39 +00:00
|
|
|
# if !(EFX_OPTS_EF10() || EFSYS_OPT_SIENA)
|
|
|
|
# error "RX_SCATTER requires EF10 arch or SIENA"
|
2016-11-29 16:18:52 +00:00
|
|
|
# endif
|
|
|
|
#endif /* EFSYS_OPT_RX_SCATTER */
|
|
|
|
|
2016-11-29 16:18:34 +00:00
|
|
|
#ifdef EFSYS_OPT_STAT_NAME
|
|
|
|
# error "STAT_NAME is obsolete (replaced by NAMES)."
|
|
|
|
#endif
|
|
|
|
|
2016-11-29 16:18:59 +00:00
|
|
|
#if EFSYS_OPT_VPD
|
|
|
|
/* Support PCI Vital Product Data (VPD) */
|
2019-02-07 16:29:39 +00:00
|
|
|
# if !(EFX_OPTS_EF10() || EFSYS_OPT_SIENA)
|
|
|
|
# error "VPD requires EF10 arch or SIENA"
|
2016-11-29 16:18:59 +00:00
|
|
|
# endif
|
|
|
|
#endif /* EFSYS_OPT_VPD */
|
|
|
|
|
2016-11-29 16:18:34 +00:00
|
|
|
#ifdef EFSYS_OPT_WOL
|
|
|
|
# error "WOL is obsolete and is not supported"
|
|
|
|
#endif /* EFSYS_OPT_WOL */
|
|
|
|
|
|
|
|
#ifdef EFSYS_OPT_MCAST_FILTER_LIST
|
|
|
|
# error "MCAST_FILTER_LIST is obsolete and is not supported"
|
|
|
|
#endif
|
|
|
|
|
2016-11-29 16:18:45 +00:00
|
|
|
#if EFSYS_OPT_BIST
|
|
|
|
/* Support BIST */
|
2019-02-07 16:29:39 +00:00
|
|
|
# if !(EFX_OPTS_EF10() || EFSYS_OPT_SIENA)
|
|
|
|
# error "BIST requires EF10 arch or SIENA"
|
2016-11-29 16:18:45 +00:00
|
|
|
# endif
|
|
|
|
#endif /* EFSYS_OPT_BIST */
|
|
|
|
|
2016-11-29 16:19:01 +00:00
|
|
|
#if EFSYS_OPT_LICENSING
|
|
|
|
/* Support MCDI licensing API */
|
|
|
|
# if !EFSYS_OPT_MCDI
|
|
|
|
# error "LICENSING requires MCDI"
|
|
|
|
# endif
|
|
|
|
# if !EFSYS_HAS_UINT64
|
|
|
|
# error "LICENSING requires UINT64"
|
|
|
|
# endif
|
|
|
|
#endif /* EFSYS_OPT_LICENSING */
|
|
|
|
|
2016-11-29 16:18:34 +00:00
|
|
|
#if EFSYS_OPT_ALLOW_UNCONFIGURED_NIC
|
|
|
|
/* Support adapters with missing static config (for factory use only) */
|
2018-02-20 07:33:24 +00:00
|
|
|
# if !(EFSYS_OPT_MEDFORD || EFSYS_OPT_MEDFORD2)
|
|
|
|
# error "ALLOW_UNCONFIGURED_NIC requires MEDFORD or MEDFORD2"
|
2016-11-29 16:18:43 +00:00
|
|
|
# endif
|
2016-11-29 16:18:34 +00:00
|
|
|
#endif /* EFSYS_OPT_ALLOW_UNCONFIGURED_NIC */
|
|
|
|
|
2016-11-29 16:18:57 +00:00
|
|
|
#if EFSYS_OPT_RX_PACKED_STREAM
|
|
|
|
/* Support packed stream mode */
|
2019-02-07 16:29:39 +00:00
|
|
|
# if !EFX_OPTS_EF10()
|
|
|
|
# error "PACKED_STREAM requires EF10 arch"
|
2016-11-29 16:18:57 +00:00
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
|
2018-04-19 12:36:47 +01:00
|
|
|
#if EFSYS_OPT_RX_ES_SUPER_BUFFER
|
|
|
|
/* Support equal stride super-buffer mode */
|
|
|
|
# if !(EFSYS_OPT_MEDFORD2)
|
|
|
|
# error "ES_SUPER_BUFFER requires MEDFORD2"
|
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
|
2017-12-24 10:46:38 +00:00
|
|
|
/* Support hardware assistance for tunnels */
|
|
|
|
#if EFSYS_OPT_TUNNEL
|
2018-02-20 07:34:25 +00:00
|
|
|
# if !(EFSYS_OPT_MEDFORD || EFSYS_OPT_MEDFORD2)
|
|
|
|
# error "TUNNEL requires MEDFORD or MEDFORD2"
|
2017-12-24 10:46:38 +00:00
|
|
|
# endif
|
|
|
|
#endif /* EFSYS_OPT_TUNNEL */
|
|
|
|
|
2018-04-04 15:23:54 +01:00
|
|
|
#if EFSYS_OPT_FW_SUBVARIANT_AWARE
|
|
|
|
/* Advertise that the driver is firmware subvariant aware */
|
|
|
|
# if !(EFSYS_OPT_MEDFORD2)
|
|
|
|
# error "FW_SUBVARIANT_AWARE requires MEDFORD2"
|
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
|
2019-06-10 08:38:33 +01:00
|
|
|
#if EFSYS_OPT_EVB
|
|
|
|
/* Support enterprise virtual bridging */
|
|
|
|
# if !(EFX_OPTS_EF10())
|
|
|
|
# error "EVB requires EF10 arch"
|
|
|
|
# endif
|
|
|
|
#endif /* EFSYS_OPT_EVB */
|
|
|
|
|
2016-11-29 16:18:34 +00:00
|
|
|
#endif /* _SYS_EFX_CHECK_H */
|