efx_check.h (299336) | efx_check.h (299337) |
---|---|
1/*- 2 * Copyright (c) 2012-2015 Solarflare Communications Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright notice, --- 13 unchanged lines hidden (view full) --- 22 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 23 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 24 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * 26 * The views and conclusions contained in the software and documentation are 27 * those of the authors and should not be interpreted as representing official 28 * policies, either expressed or implied, of the FreeBSD Project. 29 * | 1/*- 2 * Copyright (c) 2012-2015 Solarflare Communications Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright notice, --- 13 unchanged lines hidden (view full) --- 22 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 23 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 24 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * 26 * The views and conclusions contained in the software and documentation are 27 * those of the authors and should not be interpreted as representing official 28 * policies, either expressed or implied, of the FreeBSD Project. 29 * |
30 * $FreeBSD: head/sys/dev/sfxge/common/efx_check.h 299336 2016-05-10 07:21:14Z arybchik $ | 30 * $FreeBSD: head/sys/dev/sfxge/common/efx_check.h 299337 2016-05-10 07:22:19Z arybchik $ |
31 */ 32 33#ifndef _SYS_EFX_CHECK_H 34#define _SYS_EFX_CHECK_H 35 36#include "efsys.h" 37 38/* --- 116 unchanged lines hidden (view full) --- 155#ifdef EFSYS_OPT_MON_MAX6647 156# error "MON_MAX6647 is obsolete and is not supported." 157#endif 158 159#ifdef EFSYS_OPT_MON_NULL 160# error "MON_NULL is obsolete and is not supported." 161#endif 162 | 31 */ 32 33#ifndef _SYS_EFX_CHECK_H 34#define _SYS_EFX_CHECK_H 35 36#include "efsys.h" 37 38/* --- 116 unchanged lines hidden (view full) --- 155#ifdef EFSYS_OPT_MON_MAX6647 156# error "MON_MAX6647 is obsolete and is not supported." 157#endif 158 159#ifdef EFSYS_OPT_MON_NULL 160# error "MON_NULL is obsolete and is not supported." 161#endif 162 |
163/* Obsolete option */ | |
164#ifdef EFSYS_OPT_MON_SIENA 165# error "MON_SIENA is obsolete (replaced by MON_MCDI)." | 163#ifdef EFSYS_OPT_MON_SIENA 164# error "MON_SIENA is obsolete (replaced by MON_MCDI)." |
166#endif /* EFSYS_OPT_MON_SIENA*/ | 165#endif |
167 | 166 |
168/* Obsolete option */ | |
169#ifdef EFSYS_OPT_MON_HUNTINGTON 170# error "MON_HUNTINGTON is obsolete (replaced by MON_MCDI)." | 167#ifdef EFSYS_OPT_MON_HUNTINGTON 168# error "MON_HUNTINGTON is obsolete (replaced by MON_MCDI)." |
171#endif /* EFSYS_OPT_MON_HUNTINGTON*/ | 169#endif |
172 173/* Support monitor statistics (voltage/temperature) */ 174#if EFSYS_OPT_MON_STATS 175# if !(EFSYS_OPT_SIENA || EFSYS_OPT_HUNTINGTON || EFSYS_OPT_MEDFORD) 176# error "MON_STATS requires SIENA or HUNTINGTON or MEDFORD" 177# endif 178#endif /* EFSYS_OPT_MON_STATS */ 179 --- 31 unchanged lines hidden (view full) --- 211#ifdef EFSYS_OPT_NVRAM_SFX7101 212# error "NVRAM_SFX7101 is obsolete and is not supported." 213#endif 214 215#ifdef EFSYS_OPT_PCIE_TUNE 216# error "PCIE_TUNE is obsolete and is not supported." 217#endif 218 | 170 171/* Support monitor statistics (voltage/temperature) */ 172#if EFSYS_OPT_MON_STATS 173# if !(EFSYS_OPT_SIENA || EFSYS_OPT_HUNTINGTON || EFSYS_OPT_MEDFORD) 174# error "MON_STATS requires SIENA or HUNTINGTON or MEDFORD" 175# endif 176#endif /* EFSYS_OPT_MON_STATS */ 177 --- 31 unchanged lines hidden (view full) --- 209#ifdef EFSYS_OPT_NVRAM_SFX7101 210# error "NVRAM_SFX7101 is obsolete and is not supported." 211#endif 212 213#ifdef EFSYS_OPT_PCIE_TUNE 214# error "PCIE_TUNE is obsolete and is not supported." 215#endif 216 |
219/* Obsolete option */ | |
220#ifdef EFSYS_OPT_PHY_BIST 221# error "PHY_BIST is obsolete (replaced by BIST)." 222#endif 223 224/* Support PHY flags */ 225#if EFSYS_OPT_PHY_FLAGS 226# if !EFSYS_OPT_SIENA 227# error "PHY_FLAGS requires SIENA" --- 6 unchanged lines hidden (view full) --- 234# error "PHY_LED_CONTROL requires SIENA" 235# endif 236#endif /* EFSYS_OPT_PHY_LED_CONTROL */ 237 238#ifdef EFSYS_OPT_PHY_NULL 239# error "PHY_NULL is obsolete and is not supported." 240#endif 241 | 217#ifdef EFSYS_OPT_PHY_BIST 218# error "PHY_BIST is obsolete (replaced by BIST)." 219#endif 220 221/* Support PHY flags */ 222#if EFSYS_OPT_PHY_FLAGS 223# if !EFSYS_OPT_SIENA 224# error "PHY_FLAGS requires SIENA" --- 6 unchanged lines hidden (view full) --- 231# error "PHY_LED_CONTROL requires SIENA" 232# endif 233#endif /* EFSYS_OPT_PHY_LED_CONTROL */ 234 235#ifdef EFSYS_OPT_PHY_NULL 236# error "PHY_NULL is obsolete and is not supported." 237#endif 238 |
242/* Obsolete option */ | |
243#ifdef EFSYS_OPT_PHY_PM8358 244# error "EFSYS_OPT_PHY_PM8358 is obsolete and is not supported." 245#endif 246 247/* Support PHY properties */ 248#if EFSYS_OPT_PHY_PROPS 249# if !EFSYS_OPT_SIENA 250# error "PHY_PROPS requires SIENA" --- 29 unchanged lines hidden (view full) --- 280 281/* Support EVQ/RXQ/TXQ statistics */ 282#if EFSYS_OPT_QSTATS 283# if !(EFSYS_OPT_SIENA || EFSYS_OPT_HUNTINGTON || EFSYS_OPT_MEDFORD) 284# error "QSTATS requires SIENA or HUNTINGTON or MEDFORD" 285# endif 286#endif /* EFSYS_OPT_QSTATS */ 287 | 239#ifdef EFSYS_OPT_PHY_PM8358 240# error "EFSYS_OPT_PHY_PM8358 is obsolete and is not supported." 241#endif 242 243/* Support PHY properties */ 244#if EFSYS_OPT_PHY_PROPS 245# if !EFSYS_OPT_SIENA 246# error "PHY_PROPS requires SIENA" --- 29 unchanged lines hidden (view full) --- 276 277/* Support EVQ/RXQ/TXQ statistics */ 278#if EFSYS_OPT_QSTATS 279# if !(EFSYS_OPT_SIENA || EFSYS_OPT_HUNTINGTON || EFSYS_OPT_MEDFORD) 280# error "QSTATS requires SIENA or HUNTINGTON or MEDFORD" 281# endif 282#endif /* EFSYS_OPT_QSTATS */ 283 |
288/* Obsolete option */ | |
289#ifdef EFSYS_OPT_RX_HDR_SPLIT 290# error "RX_HDR_SPLIT is obsolete and is not supported" | 284#ifdef EFSYS_OPT_RX_HDR_SPLIT 285# error "RX_HDR_SPLIT is obsolete and is not supported" |
291#endif /* EFSYS_OPT_RX_HDR_SPLIT */ | 286#endif |
292 293/* Support receive scaling (RSS) */ 294#if EFSYS_OPT_RX_SCALE 295# if !(EFSYS_OPT_SIENA || EFSYS_OPT_HUNTINGTON || EFSYS_OPT_MEDFORD) 296# error "RX_SCALE requires SIENA or HUNTINGTON or MEDFORD" 297# endif 298#endif /* EFSYS_OPT_RX_SCALE */ 299 300/* Support receive scatter DMA */ 301#if EFSYS_OPT_RX_SCATTER 302# if !(EFSYS_OPT_SIENA || EFSYS_OPT_HUNTINGTON || EFSYS_OPT_MEDFORD) 303# error "RX_SCATTER requires SIENA or HUNTINGTON or MEDFORD" 304# endif 305#endif /* EFSYS_OPT_RX_SCATTER */ 306 | 287 288/* Support receive scaling (RSS) */ 289#if EFSYS_OPT_RX_SCALE 290# if !(EFSYS_OPT_SIENA || EFSYS_OPT_HUNTINGTON || EFSYS_OPT_MEDFORD) 291# error "RX_SCALE requires SIENA or HUNTINGTON or MEDFORD" 292# endif 293#endif /* EFSYS_OPT_RX_SCALE */ 294 295/* Support receive scatter DMA */ 296#if EFSYS_OPT_RX_SCATTER 297# if !(EFSYS_OPT_SIENA || EFSYS_OPT_HUNTINGTON || EFSYS_OPT_MEDFORD) 298# error "RX_SCATTER requires SIENA or HUNTINGTON or MEDFORD" 299# endif 300#endif /* EFSYS_OPT_RX_SCATTER */ 301 |
307/* Obsolete option */ | |
308#ifdef EFSYS_OPT_STAT_NAME 309# error "STAT_NAME is obsolete (replaced by NAMES)." 310#endif 311 312/* Support PCI Vital Product Data (VPD) */ 313#if EFSYS_OPT_VPD 314# if !(EFSYS_OPT_SIENA || EFSYS_OPT_HUNTINGTON || EFSYS_OPT_MEDFORD) 315# error "VPD requires SIENA or HUNTINGTON or MEDFORD" 316# endif 317#endif /* EFSYS_OPT_VPD */ 318 319/* Support Wake on LAN */ 320#if EFSYS_OPT_WOL 321# if !EFSYS_OPT_SIENA 322# error "WOL requires SIENA" 323# endif 324#endif /* EFSYS_OPT_WOL */ 325 | 302#ifdef EFSYS_OPT_STAT_NAME 303# error "STAT_NAME is obsolete (replaced by NAMES)." 304#endif 305 306/* Support PCI Vital Product Data (VPD) */ 307#if EFSYS_OPT_VPD 308# if !(EFSYS_OPT_SIENA || EFSYS_OPT_HUNTINGTON || EFSYS_OPT_MEDFORD) 309# error "VPD requires SIENA or HUNTINGTON or MEDFORD" 310# endif 311#endif /* EFSYS_OPT_VPD */ 312 313/* Support Wake on LAN */ 314#if EFSYS_OPT_WOL 315# if !EFSYS_OPT_SIENA 316# error "WOL requires SIENA" 317# endif 318#endif /* EFSYS_OPT_WOL */ 319 |
326/* Obsolete option */ | |
327#ifdef EFSYS_OPT_MCAST_FILTER_LIST 328# error "MCAST_FILTER_LIST is obsolete and is not supported" | 320#ifdef EFSYS_OPT_MCAST_FILTER_LIST 321# error "MCAST_FILTER_LIST is obsolete and is not supported" |
329#endif /* EFSYS_OPT_MCAST_FILTER_LIST */ | 322#endif |
330 331/* Support BIST */ 332#if EFSYS_OPT_BIST 333# if !(EFSYS_OPT_SIENA || EFSYS_OPT_HUNTINGTON || EFSYS_OPT_MEDFORD) 334# error "BIST requires SIENA or HUNTINGTON or MEDFORD" 335# endif 336#endif /* EFSYS_OPT_BIST */ 337 --- 12 unchanged lines hidden --- | 323 324/* Support BIST */ 325#if EFSYS_OPT_BIST 326# if !(EFSYS_OPT_SIENA || EFSYS_OPT_HUNTINGTON || EFSYS_OPT_MEDFORD) 327# error "BIST requires SIENA or HUNTINGTON or MEDFORD" 328# endif 329#endif /* EFSYS_OPT_BIST */ 330 --- 12 unchanged lines hidden --- |