summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjfv <jfv@FreeBSD.org>2011-01-07 22:58:12 +0000
committerjfv <jfv@FreeBSD.org>2011-01-07 22:58:12 +0000
commit9e1a6b2f78e54e22e50557bc0fda30d5d93f7929 (patch)
treedfa90a96955a67c76a3bed7e9d3ed0db61caf6a0 /sys
parent69f949273755bd7b19128d343d3b8312d044a102 (diff)
downloadFreeBSD-src-9e1a6b2f78e54e22e50557bc0fda30d5d93f7929.zip
FreeBSD-src-9e1a6b2f78e54e22e50557bc0fda30d5d93f7929.tar.gz
Fix to kern/150247 - make ixgbe buildable for 7.x
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ixgbe/ixgbe.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ixgbe/ixgbe.h b/sys/dev/ixgbe/ixgbe.h
index 1ad9b2d..fd5aff3 100644
--- a/sys/dev/ixgbe/ixgbe.h
+++ b/sys/dev/ixgbe/ixgbe.h
@@ -484,7 +484,7 @@ ixgbe_is_sfp(struct ixgbe_hw *hw)
}
/* Workaround to make 8.0 buildable */
-#if __FreeBSD_version < 800504
+#if __FreeBSD_version >= 800000 && __FreeBSD_version < 800504
static __inline int
drbr_needs_enqueue(struct ifnet *ifp, struct buf_ring *br)
{
OpenPOWER on IntegriCloud