summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjfv <jfv@FreeBSD.org>2011-04-28 23:21:40 +0000
committerjfv <jfv@FreeBSD.org>2011-04-28 23:21:40 +0000
commit6ec3bafb993451f32696f7bfc77dbedd2d6930d6 (patch)
tree9cba5de1b673f3009239cd37fffbcf0b8e40458e /sys
parent369bfa0af2f6f250a77f4e357035d6b5aba3c343 (diff)
downloadFreeBSD-src-6ec3bafb993451f32696f7bfc77dbedd2d6930d6.zip
FreeBSD-src-6ec3bafb993451f32696f7bfc77dbedd2d6930d6.tar.gz
Add a #define for driver portability to older OS
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ixgbe/ixgbe.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/ixgbe/ixgbe.h b/sys/dev/ixgbe/ixgbe.h
index 54a2f2d..d0314b9 100644
--- a/sys/dev/ixgbe/ixgbe.h
+++ b/sys/dev/ixgbe/ixgbe.h
@@ -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
OpenPOWER on IntegriCloud