summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjfv <jfv@FreeBSD.org>2011-04-28 22:21:53 +0000
committerjfv <jfv@FreeBSD.org>2011-04-28 22:21:53 +0000
commit500a42a4fa992c4d1840a8f8a9aed9b783988ac0 (patch)
tree78dd070ef1985fde49f27a1c39095efd3afcc50b
parent675b94ce82840162331344af870e7ddd113844d2 (diff)
downloadFreeBSD-src-500a42a4fa992c4d1840a8f8a9aed9b783988ac0.zip
FreeBSD-src-500a42a4fa992c4d1840a8f8a9aed9b783988ac0.tar.gz
Small change to make backporting to stable/7,
thanks to Arnaud Lacombe for suggesting it.
-rw-r--r--sys/dev/e1000/if_igb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/e1000/if_igb.h b/sys/dev/e1000/if_igb.h
index 9a0bb47..609d650 100644
--- a/sys/dev/e1000/if_igb.h
+++ b/sys/dev/e1000/if_igb.h
@@ -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)
{
OpenPOWER on IntegriCloud