xref: /haiku/src/add-ons/kernel/bus_managers/firewire/fwdebug.h (revision 1e60bdeab63fa7a57bc9a55b032052e95a18bd2c)
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