svn commit: r217129 - head/sys/dev/ixgbe

Jack F Vogel jfv at FreeBSD.org
Fri Jan 7 22:58:13 UTC 2011


Author: jfv
Date: Fri Jan  7 22:58:12 2011
New Revision: 217129
URL: http://svn.freebsd.org/changeset/base/217129

Log:
  Fix to kern/150247 - make ixgbe buildable for 7.x

Modified:
  head/sys/dev/ixgbe/ixgbe.h

Modified: head/sys/dev/ixgbe/ixgbe.h
==============================================================================
--- head/sys/dev/ixgbe/ixgbe.h	Fri Jan  7 22:57:31 2011	(r217128)
+++ head/sys/dev/ixgbe/ixgbe.h	Fri Jan  7 22:58:12 2011	(r217129)
@@ -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)
 {


More information about the svn-src-head mailing list