author | Florian Pose <fp@igh-essen.com> |
Fri, 25 Nov 2005 16:43:46 +0000 | |
branch | kernel2.6 |
changeset 23 | 39364fbcd069 |
parent 5 | 6f2508af550c |
permissions | -rw-r--r-- |
0 | 1 |
#ifndef ECDBG_H_ |
2 |
#define ECDBG_H_ |
|
3 |
||
4 |
||
5 |
//#define DEBUG_SEND_RECEIVE |
|
6 |
#define ECMASTER_DEBUG |
|
7 |
||
8 |
||
5
6f2508af550c
Alle ?nderungen aus den Branches no_rtai und no_int nach Trunk portiert.
Florian Pose <fp@igh-essen.com>
parents:
2
diff
changeset
|
9 |
//#include "../rs232dbg/rs232dbg.h" |
0 | 10 |
|
11 |
||
12 |
#ifdef ECMASTER_DEBUG |
|
13 |
/* note: prints function name for you */ |
|
14 |
//# define EC_DBG(fmt, args...) SDBG_print(fmt, ## args) |
|
15 |
||
5
6f2508af550c
Alle ?nderungen aus den Branches no_rtai und no_int nach Trunk portiert.
Florian Pose <fp@igh-essen.com>
parents:
2
diff
changeset
|
16 |
//#define EC_DBG(fmt, args...) SDBG_print("%s: " fmt, __FUNCTION__ , ## args) |
6f2508af550c
Alle ?nderungen aus den Branches no_rtai und no_int nach Trunk portiert.
Florian Pose <fp@igh-essen.com>
parents:
2
diff
changeset
|
17 |
#define EC_DBG(fmt, args...) printk(fmt, ## args) |
0 | 18 |
#else |
19 |
#define EC_DBG(fmt, args...) |
|
20 |
#endif |
|
21 |
||
22 |
||
23 |
#endif |