In the Linux 2.4.2 source tree, the following lines of code appear in
linux/drivers/net/3c59x.c starting at about line 170:
/* Put out somewhat more debugging messages. (0: no msg, 1 minimal .. 6). */
#define vortex_debug debug
static int vortex_debug = VORTEX_DEBUG;
static int vortex_debug = 1;
My question is this: what the heck is the #define line for ??? It seems to
me that it does nothing useful since the #ifdef-#else-#endif macros are
guaranteed <?> to (re)define the identifier 'vortex_debug' regardless of
whether the #define exists or not.
Also, I'm curious about the identifier 'debug'. Where does it come from,
what's its purpose, how is it used [e.g., an insmod option?], etc. Tks...