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>
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to