svn commit: r292102 - stable/10/sys/dev/ixl
Steven Hartland
smh at FreeBSD.org
Fri Dec 11 13:15:23 UTC 2015
Author: smh
Date: Fri Dec 11 13:15:22 2015
New Revision: 292102
URL: https://svnweb.freebsd.org/changeset/base/292102
Log:
MFC r289231: Fix used function warnings in ixl(4)
Sponsored by: Multiplay
Modified:
stable/10/sys/dev/ixl/if_ixl.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/dev/ixl/if_ixl.c
==============================================================================
--- stable/10/sys/dev/ixl/if_ixl.c Fri Dec 11 13:12:52 2015 (r292101)
+++ stable/10/sys/dev/ixl/if_ixl.c Fri Dec 11 13:15:22 2015 (r292102)
@@ -159,8 +159,10 @@ static void ixl_free_mac_filters(struct
/* Sysctl debug interface */
+#ifdef IXL_DEBUG_SYSCTL
static int ixl_debug_info(SYSCTL_HANDLER_ARGS);
static void ixl_print_debug_info(struct ixl_pf *);
+#endif
/* The MSI/X Interrupt handlers */
static void ixl_intr(void *);
@@ -4368,6 +4370,7 @@ ixl_do_adminq(void *context, int pending
IXL_PF_UNLOCK(pf);
}
+#ifdef IXL_DEBUG_SYSCTL
static int
ixl_debug_info(SYSCTL_HANDLER_ARGS)
{
@@ -4432,6 +4435,7 @@ ixl_print_debug_info(struct ixl_pf *pf)
reg = rd32(hw, I40E_GLPRT_MLFC(hw->port));
printf("mac local fault = %x\n", reg);
}
+#endif
/**
* Update VSI-specific ethernet statistics counters.
More information about the svn-src-stable-10
mailing list