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

This commit is contained in:
Jack F Vogel 2011-01-07 22:58:12 +00:00
parent 911127a0d6
commit 4655a3925a

View File

@ -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)
{