From owner-svn-src-all@freebsd.org Mon May 16 22:56:47 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5E220B3DD87; Mon, 16 May 2016 22:56:47 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1F8341651; Mon, 16 May 2016 22:56:46 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4GMukMM075520; Mon, 16 May 2016 22:56:46 GMT (envelope-from adrian@FreeBSD.org) Received: (from adrian@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4GMuj7M075513; Mon, 16 May 2016 22:56:45 GMT (envelope-from adrian@FreeBSD.org) Message-Id: <201605162256.u4GMuj7M075513@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: adrian set sender to adrian@FreeBSD.org using -f From: Adrian Chadd Date: Mon, 16 May 2016 22:56:45 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r299984 - head/sys/dev/bwn X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2016 22:56:47 -0000 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 __FBSDID("$FreeBSD$"); +#include "opt_bwn.h" +#include "opt_wlan.h" + #include #include #include 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 __FBSDID("$FreeBSD$"); +#include "opt_bwn.h" +#include "opt_wlan.h" + #include #include #include 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 __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 __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 __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 #include #include