File: debug.h

package info (click to toggle)
pentanet 2.3.1-5
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 1,124 kB
  • ctags: 2,082
  • sloc: ansic: 7,840; sh: 598; makefile: 251
file content (28 lines) | stat: -rw-r--r-- 637 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* ----------------------------------------------- */
/* company : pentamedia
 * author  : elcomski 
 * file    : debug.h 
 * date    : 2001-10-11
 * modify  : 2001-12-13 by elcomski
 *
 */
/* ----------------------------------------------- */
#ifndef _DEBUG_H_
#define _DEBUG_H_

#if 0 /* define to 1 to enable debugging info */
#define PENTANET_DEBUG 
#endif

/*--------------------------------*/
/* Macro definitions */
/*--------------------------------*/
#ifdef PENTANET_DEBUG
#define dbgPrintk(fmt, args...) printk(KERN_DEBUG "%s: " fmt, __FUNCTION__ , ## args)
#else
#define dbgPrintk(fmt, args...)
#endif


#endif // _DEBUG_H_