Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jul 2015 07:13:15 +0000 (UTC)
From:      Luigi Rizzo <luigi@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r285351 - head/sys/dev/virtio/network
Message-ID:  <201507100713.t6A7DFIa089216@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: luigi
Date: Fri Jul 10 07:13:14 2015
New Revision: 285351
URL: https://svnweb.freebsd.org/changeset/base/285351

Log:
  add netmap dependency when compiled as a module

Modified:
  head/sys/dev/virtio/network/if_vtnet.c

Modified: head/sys/dev/virtio/network/if_vtnet.c
==============================================================================
--- head/sys/dev/virtio/network/if_vtnet.c	Fri Jul 10 06:47:14 2015	(r285350)
+++ head/sys/dev/virtio/network/if_vtnet.c	Fri Jul 10 07:13:14 2015	(r285351)
@@ -304,6 +304,9 @@ DRIVER_MODULE(vtnet, virtio_pci, vtnet_d
     vtnet_modevent, 0);
 MODULE_VERSION(vtnet, 1);
 MODULE_DEPEND(vtnet, virtio, 1, 1, 1);
+#ifdef DEV_NETMAP
+MODULE_DEPEND(vtnet, netmap, 1, 1, 1);
+#endif /* DEV_NETMAP */
 
 static int
 vtnet_modevent(module_t mod, int type, void *unused)



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