efx.h (299250) | efx.h (299253) |
---|---|
1/*- 2 * Copyright (c) 2006-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) 2006-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.h 299250 2016-05-09 08:28:52Z arybchik $ | 30 * $FreeBSD: head/sys/dev/sfxge/common/efx.h 299253 2016-05-09 08:37:42Z arybchik $ |
31 */ 32 33#ifndef _SYS_EFX_H 34#define _SYS_EFX_H 35 36#include "efsys.h" | 31 */ 32 33#ifndef _SYS_EFX_H 34#define _SYS_EFX_H 35 36#include "efsys.h" |
37#include "efx_check.h" |
|
37#include "efx_phy_ids.h" 38 39#ifdef __cplusplus 40extern "C" { 41#endif 42 43#define EFX_STATIC_ASSERT(_cond) \ 44 ((void)sizeof(char[(_cond) ? 1 : -1])) --- 2332 unchanged lines hidden --- | 38#include "efx_phy_ids.h" 39 40#ifdef __cplusplus 41extern "C" { 42#endif 43 44#define EFX_STATIC_ASSERT(_cond) \ 45 ((void)sizeof(char[(_cond) ? 1 : -1])) --- 2332 unchanged lines hidden --- |