svn commit: r300076 - head/sys/dev/bwn

Adrian Chadd adrian at FreeBSD.org
Tue May 17 20:21:41 UTC 2016


Author: adrian
Date: Tue May 17 20:21:39 2016
New Revision: 300076
URL: https://svnweb.freebsd.org/changeset/base/300076

Log:
  [bwn] print out a very obvious notice that GPLv2 code is compiled in if it is.

Modified:
  head/sys/dev/bwn/if_bwn.c

Modified: head/sys/dev/bwn/if_bwn.c
==============================================================================
--- head/sys/dev/bwn/if_bwn.c	Tue May 17 20:18:23 2016	(r300075)
+++ head/sys/dev/bwn/if_bwn.c	Tue May 17 20:21:39 2016	(r300076)
@@ -564,6 +564,11 @@ bwn_attach(device_t dev)
 	else
 		device_printf(sc->sc_dev, "PIO\n");
 
+#ifdef	BWN_GPL_PHY
+	device_printf(sc->sc_dev,
+	    "Note: compiled with BWN_GPL_PHY; includes GPLv2 code\n");
+#endif
+
 	/*
 	 * setup PCI resources and interrupt.
 	 */


More information about the svn-src-head mailing list