From owner-svn-src-head@FreeBSD.ORG Sun Jul 1 02:34:33 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0010A106566C; Sun, 1 Jul 2012 02:34:32 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id DF7C38FC08; Sun, 1 Jul 2012 02:34:32 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q612YWG3058973; Sun, 1 Jul 2012 02:34:32 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q612YWd5058970; Sun, 1 Jul 2012 02:34:32 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201207010234.q612YWd5058970@svn.freebsd.org> From: Adrian Chadd Date: Sun, 1 Jul 2012 02:34:32 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r237864 - in head/sys/dev/ath: . ath_hal X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jul 2012 02:34:33 -0000 Author: adrian Date: Sun Jul 1 02:34:32 2012 New Revision: 237864 URL: http://svn.freebsd.org/changeset/base/237864 Log: Fix the HAL debugging to only use one bit to mark a message as unmaskable. Whilst I'm here, remove the duplication of the #define. Modified: head/sys/dev/ath/ah_osdep.c head/sys/dev/ath/ath_hal/ah_debug.h Modified: head/sys/dev/ath/ah_osdep.c ============================================================================== --- head/sys/dev/ath/ah_osdep.c Sun Jul 1 00:40:56 2012 (r237863) +++ head/sys/dev/ath/ah_osdep.c Sun Jul 1 02:34:32 2012 (r237864) @@ -47,6 +47,7 @@ #include /* XXX for ether_sprintf */ #include +#include /* * WiSoC boards overload the bus tag with information about the @@ -137,8 +138,6 @@ ath_hal_ether_sprintf(const u_int8_t *ma #ifdef AH_DEBUG -/* This must match the definition in ath_hal/ah_debug.h */ -#define HAL_DEBUG_UNMASKABLE 0xf0000000 void DO_HALDEBUG(struct ath_hal *ah, u_int mask, const char* fmt, ...) { Modified: head/sys/dev/ath/ath_hal/ah_debug.h ============================================================================== --- head/sys/dev/ath/ath_hal/ah_debug.h Sun Jul 1 00:40:56 2012 (r237863) +++ head/sys/dev/ath/ath_hal/ah_debug.h Sun Jul 1 02:34:32 2012 (r237864) @@ -48,7 +48,7 @@ enum { HAL_DEBUG_DFS = 0x00200000, /* DFS debugging */ HAL_DEBUG_HANG = 0x00400000, /* BB/MAC hang debugging */ - HAL_DEBUG_UNMASKABLE = 0xf0000000, /* always printed */ + HAL_DEBUG_UNMASKABLE = 0x80000000, /* always printed */ HAL_DEBUG_ANY = 0xffffffff }; #endif /* _ATH_AH_DEBUG_H_ */