svn commit: r280612 - stable/10/sys/dev/sfxge
Andrew Rybchenko
arybchik at FreeBSD.org
Wed Mar 25 13:56:44 UTC 2015
Author: arybchik
Date: Wed Mar 25 13:56:42 2015
New Revision: 280612
URL: https://svnweb.freebsd.org/changeset/base/280612
Log:
MFC: 280432
sfxge: cleanup: add a blank line before each #if to improve readability
Sponsored by: Solarflare Communications, Inc.
Modified:
stable/10/sys/dev/sfxge/sfxge.h
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/dev/sfxge/sfxge.h
==============================================================================
--- stable/10/sys/dev/sfxge/sfxge.h Wed Mar 25 13:55:36 2015 (r280611)
+++ stable/10/sys/dev/sfxge/sfxge.h Wed Mar 25 13:56:42 2015 (r280612)
@@ -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
More information about the svn-src-stable-10
mailing list