Debug message is disabled by default now. If you want to show the message,

please add "option DEBUG" in the config file or in the C source

#define DEBUG
#include <printk.h>
This commit is contained in:
Li-Ta Lo 2000-12-01 08:59:47 +00:00
commit f0ea4a2bc0
10 changed files with 129 additions and 148 deletions

View file

@ -23,17 +23,10 @@
extern void intel_post(char value);
#define DEBUG
#define ERRCHK
#undef TRACEV
#define MALLOCDBG
#ifdef DEBUG
#define DBG(x...) printk(KERN_DEBUG x)
#else
#define DBG(x...)
#endif
/*
* gzip declarations
*/

View file

@ -20,15 +20,8 @@ static char rcsid[] = "$Id$";
#include <types.h>
extern void intel_post(unsigned char value);
#define DEBUG
#undef DEBUGSCAN
#ifdef DEBUG
#define DBG(x...) printk(KERN_DEBUG x)
#else
#define DBG(x...)
#endif
#ifdef DEBUGSCAN
#define DBGSCAN(x...) printk(KERN_DEBUG x)
#else

View file

@ -19,12 +19,6 @@ static char rcsid[] = "$Id$";
#include <cpu/p5/io.h>
#include <printk.h>
#ifdef DEBUG
#define DBG(x...) printk(KERN_DEBUG x)
#else
#define DBG(x...)
#endif
#define ONEMEG (1 << 20)
#define PCI_MEM_START 0x80000000

View file

@ -217,9 +217,8 @@ void intel_check_irq_routing_table(void)
for (i = 0; i < rt->size; i++)
sum += addr[i];
printk(KERN_DEBUG "%s:%6d:%s() - "
"irq_routing_table located at: 0x%p\n",
__FILE__, __LINE__, __FUNCTION__, addr);
DBG("%s:%6d:%s() - irq_routing_table located at: 0x%p\n",
__FILE__, __LINE__, __FUNCTION__, addr);
sum = (unsigned char)(rt->checksum-sum);