svn commit: r221189 - head/sys/dev/ixgbe
Jack F Vogel
jfv at FreeBSD.org
Thu Apr 28 23:21:41 UTC 2011
Author: jfv
Date: Thu Apr 28 23:21:40 2011
New Revision: 221189
URL: http://svn.freebsd.org/changeset/base/221189
Log:
Add a #define for driver portability to older OS
Modified:
head/sys/dev/ixgbe/ixgbe.h
Modified: head/sys/dev/ixgbe/ixgbe.h
==============================================================================
--- head/sys/dev/ixgbe/ixgbe.h Thu Apr 28 22:23:39 2011 (r221188)
+++ head/sys/dev/ixgbe/ixgbe.h Thu Apr 28 23:21:40 2011 (r221189)
@@ -154,6 +154,11 @@
#define IXGBE_FC_HI 0x20000
#define IXGBE_FC_LO 0x10000
+/* Keep older OS drivers building... */
+#if !defined(SYSCTL_ADD_UQUAD)
+#define SYSCTL_ADD_UQUAD SYSCTL_ADD_QUAD
+#endif
+
/* Defines for printing debug information */
#define DEBUG_INIT 0
#define DEBUG_IOCTL 0
More information about the svn-src-head
mailing list