summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2016-05-17 20:21:39 +0000
committeradrian <adrian@FreeBSD.org>2016-05-17 20:21:39 +0000
commit61933e54a5fdbbbd7cd54ea59f7d3bde09c3925f (patch)
tree2698d075ec758f61cfe12797aeac9ebedc1ac964
parent73e048f28041c07eba13cf8442e4ca9e3ca83b3d (diff)
downloadFreeBSD-src-61933e54a5fdbbbd7cd54ea59f7d3bde09c3925f.zip
FreeBSD-src-61933e54a5fdbbbd7cd54ea59f7d3bde09c3925f.tar.gz
[bwn] print out a very obvious notice that GPLv2 code is compiled in if it is.
-rw-r--r--sys/dev/bwn/if_bwn.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/bwn/if_bwn.c b/sys/dev/bwn/if_bwn.c
index 34ac608..069f0cb 100644
--- a/sys/dev/bwn/if_bwn.c
+++ b/sys/dev/bwn/if_bwn.c
@@ -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.
*/
OpenPOWER on IntegriCloud