a very simple debugging macro
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7394 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -0,0 +1,19 @@
|
|||||||
|
/* Intel PRO/1000 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 TRACE(a...) dprintf("ipro1000: " a)
|
||||||
|
#else
|
||||||
|
#define TRACE(a...)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define ERROR(a...) dprintf("ipro1000: " a)
|
||||||
|
|
||||||
|
#endif
|
||||||
Reference in New Issue
Block a user