added TRACE and ERROR macro, removed LOG macro
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7381 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,14 +1,17 @@
|
||||
/* Realtek RTL8169 Family Driver
|
||||
* Copyright (C) 2004 Marcus Overhagen <[email protected]>. All rights reserved.
|
||||
*/
|
||||
#ifndef __DEBUG_H
|
||||
#define __DEBUG_H
|
||||
|
||||
#include <KernelExport.h>
|
||||
|
||||
#define DEBUG
|
||||
|
||||
#ifdef DEBUG
|
||||
#define LOG dprintf
|
||||
#define TRACE(a...) dprintf("rtl8169: " a)
|
||||
#else
|
||||
#define LOG(a...)
|
||||
#define TRACE(a...)
|
||||
#endif
|
||||
|
||||
#define ERROR(a...) dprintf("rtl8169: " a)
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user