SSID: Respect ASCII character Label.
[tomato.git] / release / src / et / sys / et_dbg.h
blobe19ee4e287a17592dfef8b051e74032acc0d2882
1 /*
2 * Minimal debug/trace/assert driver definitions for
3 * Broadcom Home Networking Division 10/100 Mbit/s Ethernet
4 * Device Driver.
6 * Copyright 2006, Broadcom Corporation
7 * All Rights Reserved.
8 *
9 * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation;
10 * the contents of this file may not be disclosed to third parties, copied
11 * or duplicated in any form, in whole or in part, without the prior
12 * written permission of Broadcom Corporation.
13 * $Id: et_dbg.h,v 1.1.1.1 2007/03/20 12:22:00 roly Exp $
16 #ifndef _et_dbg_
17 #define _et_dbg_
19 #define ET_ERROR(args) if (!(et_msg_level & 1)) ; else printf args
20 #define ET_TRACE(args) if (!(et_msg_level & 2)) ; else printf args
21 #define ET_PRHDR(msg, eh, len, unit)
22 #define ET_PRPKT(msg, buf, len, unit)
24 extern uint32 et_msg_level;
26 #define ET_LOG(fmt, a1, a2)
28 /* include port-specific tunables */
29 #ifdef NDIS
30 #include <et_ndis.h>
31 #elif linux
32 #include <et_linux.h>
33 #elif PMON
34 #include <et_pmon.h>
35 #elif _CFE_
36 #include <et_cfe.h>
37 #else
38 #error
39 #endif
41 #endif /* _et_dbg_ */