1/* 2 * Minimal debug/trace/assert driver definitions for 3 * Broadcom Home Networking Division 10/100 Mbit/s Ethernet 4 * Device Driver. 5 * 6 * Copyright 2007, 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 2008/10/15 03:25:54 james26_jang Exp $ 14 */ 15 16#ifndef _et_dbg_ 17#define _et_dbg_ 18 19#define ET_ERROR(args) 20#define ET_TRACE(args) 21#define ET_PRHDR(msg, eh, len, unit) 22#define ET_PRPKT(msg, buf, len, unit) 23 24extern uint32 et_msg_level; 25 26#define ET_LOG(fmt, a1, a2) 27 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 40 41#endif /* _et_dbg_ */ 42