svn commit: r221187 - head/sys/dev/e1000

Jack F Vogel jfv at FreeBSD.org
Thu Apr 28 22:21:54 UTC 2011


Author: jfv
Date: Thu Apr 28 22:21:53 2011
New Revision: 221187
URL: http://svn.freebsd.org/changeset/base/221187

Log:
  Small change to make backporting to stable/7,
  thanks to Arnaud Lacombe for suggesting it.

Modified:
  head/sys/dev/e1000/if_igb.h

Modified: head/sys/dev/e1000/if_igb.h
==============================================================================
--- head/sys/dev/e1000/if_igb.h	Thu Apr 28 21:41:00 2011	(r221186)
+++ head/sys/dev/e1000/if_igb.h	Thu Apr 28 22:21:53 2011	(r221187)
@@ -524,7 +524,7 @@ igb_rx_unrefreshed(struct rx_ring *rxr)
 	cur |= new;				\
 }
 
-#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-all mailing list