2 * npnet.h -- definitions for the network module
8 * Macros to help debugging
11 #undef PDEBUG /* undef it, just in case */
14 /* This one if debugging is on, and kernel space */
15 # define PDEBUG(fmt, args...) printk( KERN_DEBUG "npnet: " fmt, ## args)
17 /* This one for user space */
18 # define PDEBUG(fmt, args...) fprintf(stderr, fmt, ## args)
21 # define PDEBUG(fmt, args...) /* not debugging: nothing */
25 #define PDEBUGG(fmt, args...) /* nothing: it's a placeholder */
28 /* These are the flags in the statusword */
29 #define NPNET_RX_INTR 0x0001
30 #define NPNET_TX_INTR 0x0002
32 /* Default timeout period */
33 #define NPNET_TIMEOUT 5 /* In jiffies */
35 extern struct net_device npnet_devs;