xref: /haiku/src/add-ons/kernel/bus_managers/firewire/fwdebug.h (revision 3369e03d5cde9709c8aa70c99bfe6ce24ba65bf9)
1 /* Kernel driver for firewire
2  *
3  * Copyright (C) 2007 JiSheng Zhang <jszhang3@gmail.com>. All rights reserved
4  * Distributed under the terms of the MIT license.
5  */
6 
7 #ifndef __FWDEBUG_H
8 #define __FWDEBUG_H
9 
10 #include <KernelExport.h>
11 #define DEBUG 1
12 
13 #ifdef DEBUG
14 	#define TRACE(a...) dprintf("firewire: " a)
15 #else
16 	#define TRACE(a...)
17 #endif
18 
19 #define ERROR(a...) dprintf("firewire: ERROR " a)
20 
21 #endif
22