summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarybchik <arybchik@FreeBSD.org>2015-03-25 13:56:42 +0000
committerarybchik <arybchik@FreeBSD.org>2015-03-25 13:56:42 +0000
commit7057aa28fc69767eada536ea16129afc8d5b52ed (patch)
treede8eb6a3595f73c5d4dfc5952a5d45305908aac7
parent3512ffa2ac7f1cd314259a00a7b87c4793fdeda0 (diff)
downloadFreeBSD-src-7057aa28fc69767eada536ea16129afc8d5b52ed.zip
FreeBSD-src-7057aa28fc69767eada536ea16129afc8d5b52ed.tar.gz
MFC: 280432
sfxge: cleanup: add a blank line before each #if to improve readability Sponsored by: Solarflare Communications, Inc.
-rw-r--r--sys/dev/sfxge/sfxge.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/dev/sfxge/sfxge.h b/sys/dev/sfxge/sfxge.h
index 03f2d45..e8e65f8 100644
--- a/sys/dev/sfxge/sfxge.h
+++ b/sys/dev/sfxge/sfxge.h
@@ -54,25 +54,32 @@
*/
#define CACHE_LINE_SIZE 128
#endif
+
#ifndef IFCAP_LINKSTATE
#define IFCAP_LINKSTATE 0
#endif
+
#ifndef IFCAP_VLAN_HWTSO
#define IFCAP_VLAN_HWTSO 0
#endif
+
#ifndef IFM_10G_T
#define IFM_10G_T IFM_UNKNOWN
#endif
+
#ifndef IFM_10G_KX4
#define IFM_10G_KX4 IFM_10G_CX4
#endif
+
#if (__FreeBSD_version >= 800501 && __FreeBSD_version < 900000) || \
__FreeBSD_version >= 900003
#define SFXGE_HAVE_DESCRIBE_INTR
#endif
+
#ifdef IFM_ETH_RXPAUSE
#define SFXGE_HAVE_PAUSE_MEDIAOPTS
#endif
+
#ifndef CTLTYPE_U64
#define CTLTYPE_U64 CTLTYPE_QUAD
#endif
OpenPOWER on IntegriCloud