Date: Wed, 30 Aug 2017 18:19:25 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r323024 - head/sys/dev/ixgbe Message-ID: <201708301819.v7UIJPv5061787@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Wed Aug 30 18:19:25 2017 New Revision: 323024 URL: https://svnweb.freebsd.org/changeset/base/323024 Log: Only make the if_ix module depend on netmap when netmap is configured. Approved by: erj Sponsored by: The FreeBSD Foundation MFC after: 1 week Modified: head/sys/dev/ixgbe/if_ix.c Modified: head/sys/dev/ixgbe/if_ix.c ============================================================================== --- head/sys/dev/ixgbe/if_ix.c Wed Aug 30 17:39:51 2017 (r323023) +++ head/sys/dev/ixgbe/if_ix.c Wed Aug 30 18:19:25 2017 (r323024) @@ -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?201708301819.v7UIJPv5061787>