mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 14:48:57 +00:00
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.
This commit is contained in:
parent
58f391d552
commit
020841a28e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=237864
@ -47,6 +47,7 @@
|
||||
#include <net/ethernet.h> /* XXX for ether_sprintf */
|
||||
|
||||
#include <dev/ath/ath_hal/ah.h>
|
||||
#include <dev/ath/ath_hal/ah_debug.h>
|
||||
|
||||
/*
|
||||
* WiSoC boards overload the bus tag with information about the
|
||||
@ -137,8 +138,6 @@ ath_hal_ether_sprintf(const u_int8_t *mac)
|
||||
|
||||
#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, ...)
|
||||
{
|
||||
|
@ -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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user