Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Sep 2017 07:09:59 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r323212 - stable/11/sys/dev/ixgbe
Message-ID:  <201709060709.v8679x4S007454@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Wed Sep  6 07:09:59 2017
New Revision: 323212
URL: https://svnweb.freebsd.org/changeset/base/323212

Log:
  MFC r323024:
  Only make the if_ix module depend on netmap when netmap is configured.

Modified:
  stable/11/sys/dev/ixgbe/if_ix.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/ixgbe/if_ix.c
==============================================================================
--- stable/11/sys/dev/ixgbe/if_ix.c	Wed Sep  6 07:08:52 2017	(r323211)
+++ stable/11/sys/dev/ixgbe/if_ix.c	Wed Sep  6 07:09:59 2017	(r323212)
@@ -243,7 +243,9 @@ DRIVER_MODULE(ix, pci, ix_driver, ix_devclass, 0, 0);
 
 MODULE_DEPEND(ix, pci, 1, 1, 1);
 MODULE_DEPEND(ix, ether, 1, 1, 1);
+#ifdef DEV_NETMAP
 MODULE_DEPEND(ix, netmap, 1, 1, 1);
+#endif
 
 /*
  * TUNEABLE PARAMETERS:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709060709.v8679x4S007454>