socsvn commit: r289692 - soc2015/stefano/ptnetmap/stable/10/sys/dev/netmap
stefano at FreeBSD.org
stefano at FreeBSD.org
Thu Aug 13 14:59:40 UTC 2015
Author: stefano
Date: Thu Aug 13 14:59:38 2015
New Revision: 289692
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=289692
Log:
ptnetmap-if_lem: remove warning
Modified:
soc2015/stefano/ptnetmap/stable/10/sys/dev/netmap/if_lem_netmap.h
Modified: soc2015/stefano/ptnetmap/stable/10/sys/dev/netmap/if_lem_netmap.h
==============================================================================
--- soc2015/stefano/ptnetmap/stable/10/sys/dev/netmap/if_lem_netmap.h Thu Aug 13 14:52:14 2015 (r289691)
+++ soc2015/stefano/ptnetmap/stable/10/sys/dev/netmap/if_lem_netmap.h Thu Aug 13 14:59:38 2015 (r289692)
@@ -645,12 +645,14 @@
static struct netmap_pt_guest_ops lem_ptnetmap_ops = {
.nm_ptctl = lem_ptnetmap_ptctl,
};
+/* XXX: these warning affect the proper kernel compilation
#elif defined (NIC_PTNETMAP)
#warning "if_lem supports ptnetmap but netmap does not support it"
#warning "(configure netmap with ptnetmap support)"
#elif defined (WITH_PTNETMAP_GUEST)
#warning "netmap supports ptnetmap but e1000 does not support it"
#warning "(configure if_lem with ptnetmap support)"
+*/
#endif /* NIC_PTNETMAP && WITH_PTNETMAP_GUEST */
static void
More information about the svn-soc-all
mailing list