[PATCH] shut-up kaweth usb/net driver

From: Harm Verhagen
Date: Wed Jun 23 2004 - 16:33:00 EST


Hi,

The kaweth usb ethernet driver is pretty noisy.
It generates over 40 lines during a modprobe.
The following patch reduces the prints generated by this driver.

Regards,
Harm Verhagen

--- linux-2.6.6-1.435/drivers/usb/net/kaweth.c.orig 2004-06-23
23:20:51.294659144 +0200
+++ linux-2.6.6-1.435/drivers/usb/net/kaweth.c 2004-06-23
23:21:10.570728736 +0200
@@ -62,7 +62,7 @@
#include <asm/semaphore.h>
#include <asm/byteorder.h>

-#define DEBUG
+#undef DEBUG

#ifdef DEBUG
#define kaweth_dbg(format, arg...) printk(KERN_DEBUG __FILE__ ": "
format "\n" ,##arg)


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/