From owner-svn-soc-all@freebsd.org Thu Aug 13 14:59:39 2015 Return-Path: Delivered-To: svn-soc-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E6A189A0536 for ; Thu, 13 Aug 2015 14:59:39 +0000 (UTC) (envelope-from stefano@FreeBSD.org) Received: from socsvn.freebsd.org (socsvn.freebsd.org [IPv6:2001:1900:2254:206a::50:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CFDFDDC8 for ; Thu, 13 Aug 2015 14:59:39 +0000 (UTC) (envelope-from stefano@FreeBSD.org) Received: from socsvn.freebsd.org ([127.0.1.124]) by socsvn.freebsd.org (8.15.2/8.15.2) with ESMTP id t7DExd6v096593 for ; Thu, 13 Aug 2015 14:59:39 GMT (envelope-from stefano@FreeBSD.org) Received: (from www@localhost) by socsvn.freebsd.org (8.15.2/8.15.2/Submit) id t7DExdDf096588 for svn-soc-all@FreeBSD.org; Thu, 13 Aug 2015 14:59:39 GMT (envelope-from stefano@FreeBSD.org) Date: Thu, 13 Aug 2015 14:59:39 GMT Message-Id: <201508131459.t7DExdDf096588@socsvn.freebsd.org> X-Authentication-Warning: socsvn.freebsd.org: www set sender to stefano@FreeBSD.org using -f From: stefano@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r289692 - soc2015/stefano/ptnetmap/stable/10/sys/dev/netmap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Aug 2015 14:59:40 -0000 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