Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Oct 2016 22:32:12 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r307073 - head/sys/modules/bwn
Message-ID:  <201610112232.u9BMWCmG056271@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Tue Oct 11 22:32:12 2016
New Revision: 307073
URL: https://svnweb.freebsd.org/changeset/base/307073

Log:
  Properly include the 802.11n PHY support files when the BWM_GPL_PHY
  option is included. Remove the comment suggesting that people
  uncomment things because it is OBE.

Modified:
  head/sys/modules/bwn/Makefile

Modified: head/sys/modules/bwn/Makefile
==============================================================================
--- head/sys/modules/bwn/Makefile	Tue Oct 11 22:31:45 2016	(r307072)
+++ head/sys/modules/bwn/Makefile	Tue Oct 11 22:32:12 2016	(r307073)
@@ -14,17 +14,15 @@ SRCS+=	if_bwn_phy_n.c
 # Other
 SRCS+=	device_if.h bus_if.h pci_if.h opt_bwn.h opt_wlan.h
 
-# Uncomment this for the GPL PHY code; this requires the
-# module be built with BWN_GPL_PHY set in the kernel
-# configuration.
-
-#.PATH: ${.CURDIR}/../../gnu/dev/bwn/phy_n
-#SRCS+=  if_bwn_radio_2055.c
-#SRCS+=  if_bwn_radio_2056.c
-#SRCS+=  if_bwn_radio_2057.c
-#SRCS+=  if_bwn_phy_n_tables.c
-#SRCS+=  if_bwn_phy_n_ppr.c
-#SRCS+=  if_bwn_phy_n_core.c
+# The following need the BWN_GPL_PHY kenrel option to opt-in
+# to the GPL'd 802.11n PHY support for this driver.
+.PATH: ${.CURDIR}/../../gnu/dev/bwn/phy_n
+SRCS.BWN_GPL_PHY+=  if_bwn_radio_2055.c
+SRCS.BWN_GPL_PHY+=  if_bwn_radio_2056.c
+SRCS.BWN_GPL_PHY+=  if_bwn_radio_2057.c
+SRCS.BWN_GPL_PHY+=  if_bwn_phy_n_tables.c
+SRCS.BWN_GPL_PHY+=  if_bwn_phy_n_ppr.c
+SRCS.BWN_GPL_PHY+=  if_bwn_phy_n_core.c
 
 .include <bsd.kmod.mk>
 



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