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