The following reply was made to PR kern/150247; it has been noted by GNATS.

From: Andrew Boyer <abo...@averesystems.com>
To: bug-follo...@freebsd.org,
 Andrew Boyer <abo...@averesystems.com>
Cc:  
Subject: Re: kern/150247: [patch] [ixgbe] Version in -current won't build on 
7.x systems
Date: Fri, 7 Jan 2011 13:36:15 -0500

 The problem has spread to the new file ixv.h:
 
 --- ixv.h      2010-11-26 17:46:32.000000000 -0500
 +++ ixv.h      2011-01-07 13:08:45.000000000 -0500
 @@ -175,7 +175,11 @@
  #define VFTA_SIZE                     128
 =20
  /* Offload bits in mbuf flag */
 +#if __FreeBSD_version >=3D 800000
  #define CSUM_OFFLOAD          (CSUM_IP|CSUM_TCP|CSUM_UDP|CSUM_SCTP)
 +#else
 +#define CSUM_OFFLOAD          (CSUM_IP|CSUM_TCP|CSUM_UDP)
 +#endif
 =20
  /*
   =
 **************************************************************************=
 ***
 @@ -400,7 +404,7 @@
  #define IXV_TX_LOCK_ASSERT(_sc)         mtx_assert(&(_sc)->tx_mtx, =
 MA_OWNED)
 =20
  /* Workaround to make 8.0 buildable */
 -#if __FreeBSD_version < 800504
 +#if __FreeBSD_version >=3D 800000 && __FreeBSD_version < 800504
  static __inline int
  drbr_needs_enqueue(struct ifnet *ifp, struct buf_ring *br)
  {
 
 
 
 
 
 
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to