Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 May 2016 22:56:45 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r299984 - head/sys/dev/bwn
Message-ID:  <201605162256.u4GMuj7M075513@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Mon May 16 22:56:45 2016
New Revision: 299984
URL: https://svnweb.freebsd.org/changeset/base/299984

Log:
  [bwn] add opt_wlan.h and opt_bwn.h so we can enable bwn debugging as appropriate.
  
  Tested:
  
  * BCM4322, STA mode (11a)
  
  Sponsored by:	Palm Springs

Modified:
  head/sys/dev/bwn/bwn_mac.c
  head/sys/dev/bwn/if_bwn_debug.h
  head/sys/dev/bwn/if_bwn_pci.c
  head/sys/dev/bwn/if_bwn_phy_common.c
  head/sys/dev/bwn/if_bwn_phy_g.c
  head/sys/dev/bwn/if_bwn_phy_lp.c
  head/sys/dev/bwn/if_bwn_util.c

Modified: head/sys/dev/bwn/bwn_mac.c
==============================================================================
--- head/sys/dev/bwn/bwn_mac.c	Mon May 16 22:42:09 2016	(r299983)
+++ head/sys/dev/bwn/bwn_mac.c	Mon May 16 22:56:45 2016	(r299984)
@@ -30,6 +30,9 @@
 #include <sys/cdefs.h>
 __FBSDID("$FreeBSD$");
 
+#include "opt_bwn.h"
+#include "opt_wlan.h"
+
 #include <sys/param.h>
 #include <sys/kernel.h>
 #include <sys/module.h>

Modified: head/sys/dev/bwn/if_bwn_debug.h
==============================================================================
--- head/sys/dev/bwn/if_bwn_debug.h	Mon May 16 22:42:09 2016	(r299983)
+++ head/sys/dev/bwn/if_bwn_debug.h	Mon May 16 22:56:45 2016	(r299984)
@@ -32,8 +32,6 @@
 #ifndef	__IF_BWN_DEBUG_H__
 #define	__IF_BWN_DEBUG_H__
 
-#define	BWN_DEBUG
-
 enum {
 	BWN_DEBUG_XMIT		= 0x00000001,	/* basic xmit operation */
 	BWN_DEBUG_RECV		= 0x00000002,	/* basic recv operation */

Modified: head/sys/dev/bwn/if_bwn_pci.c
==============================================================================
--- head/sys/dev/bwn/if_bwn_pci.c	Mon May 16 22:42:09 2016	(r299983)
+++ head/sys/dev/bwn/if_bwn_pci.c	Mon May 16 22:56:45 2016	(r299984)
@@ -30,6 +30,9 @@
 #include <sys/cdefs.h>
 __FBSDID("$FreeBSD$");
 
+#include "opt_bwn.h"
+#include "opt_wlan.h"
+
 #include <sys/param.h>
 #include <sys/kernel.h>
 #include <sys/bus.h>

Modified: head/sys/dev/bwn/if_bwn_phy_common.c
==============================================================================
--- head/sys/dev/bwn/if_bwn_phy_common.c	Mon May 16 22:42:09 2016	(r299983)
+++ head/sys/dev/bwn/if_bwn_phy_common.c	Mon May 16 22:56:45 2016	(r299984)
@@ -31,6 +31,9 @@
 #include <sys/cdefs.h>
 __FBSDID("$FreeBSD$");
 
+#include "opt_bwn.h"
+#include "opt_wlan.h"
+
 /*
  * The Broadcom Wireless LAN controller driver.
  */

Modified: head/sys/dev/bwn/if_bwn_phy_g.c
==============================================================================
--- head/sys/dev/bwn/if_bwn_phy_g.c	Mon May 16 22:42:09 2016	(r299983)
+++ head/sys/dev/bwn/if_bwn_phy_g.c	Mon May 16 22:56:45 2016	(r299984)
@@ -30,6 +30,9 @@
 #include <sys/cdefs.h>
 __FBSDID("$FreeBSD$");
 
+#include "opt_bwn.h"
+#include "opt_wlan.h"
+
 /*
  * The Broadcom Wireless LAN controller driver.
  */

Modified: head/sys/dev/bwn/if_bwn_phy_lp.c
==============================================================================
--- head/sys/dev/bwn/if_bwn_phy_lp.c	Mon May 16 22:42:09 2016	(r299983)
+++ head/sys/dev/bwn/if_bwn_phy_lp.c	Mon May 16 22:56:45 2016	(r299984)
@@ -30,6 +30,9 @@
 #include <sys/cdefs.h>
 __FBSDID("$FreeBSD$");
 
+#include "opt_bwn.h"
+#include "opt_wlan.h"
+
 /*
  * The Broadcom Wireless LAN controller driver.
  */

Modified: head/sys/dev/bwn/if_bwn_util.c
==============================================================================
--- head/sys/dev/bwn/if_bwn_util.c	Mon May 16 22:42:09 2016	(r299983)
+++ head/sys/dev/bwn/if_bwn_util.c	Mon May 16 22:56:45 2016	(r299984)
@@ -34,6 +34,9 @@ __FBSDID("$FreeBSD$");
  * The Broadcom Wireless LAN controller driver.
  */
 
+#include "opt_bwn.h"
+#include "opt_wlan.h"
+
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/kernel.h>



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