35#ifndef __DEBUG_DEFS_H__
36#define __DEBUG_DEFS_H__
49 #define DBG(fmt, args...) do { printk(" : %03d @ %18s()]:" fmt , __LINE__,__FUNCTION__,## args); } while(0)
50 #define DBG2(fmt) do { printk(" : %03d @ %18s()]:" fmt , __LINE__,__FUNCTION__); } while(0)
51 #define DBGC(c,fmt, args...) do { if (DEBUG_FLAGS & c) { printk(" : %03d @ %18s()]:" fmt , __LINE__,__FUNCTION__,## args); }} while(0)
55 #define DBG(fmt, args...)
56 #define DBG2(fmt, args...)
57 #define DBGC(c, fmt, args...)
62 #define FUNCDBG() do { printk("%s\n\r",__FUNCTION__); } while(0)