Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2011-07-18 14:35:31 +0200
committerJean Delvare <jdelvare@suse.de>2011-07-18 14:35:31 +0200
commit141a54f28ed58385533da77c5eaf7f6eea172b42 (patch)
tree60b268ca45168fadb20602fad246d3581eb68691
parentf2f7449c2204402641dca79b3960ee753de9e7d0 (diff)
tulip: Disable debugging messages by default
-rw-r--r--patches.fixes/net-tulip-debug-off-by-default.patch39
-rw-r--r--series.conf1
2 files changed, 40 insertions, 0 deletions
diff --git a/patches.fixes/net-tulip-debug-off-by-default.patch b/patches.fixes/net-tulip-debug-off-by-default.patch
new file mode 100644
index 0000000000..600ee55383
--- /dev/null
+++ b/patches.fixes/net-tulip-debug-off-by-default.patch
@@ -0,0 +1,39 @@
+From: Jean Delvare <jdelvare@suse.de>
+Subject: tulip: Disable debugging messages by default
+References: http://lists.opensuse.org/opensuse-kernel/2011-07/msg00060.html
+Patch-mainline: Not yet, submitted
+
+With debugging messages enabled by default, one user complained that
+his log was spammed with these messages:
+
+[ 6233.528227] dmfe: tdes0=7fff0000
+[ 6237.651056] dmfe: tdes0=7fff0000
+[ 6237.651060] dmfe: tdes0=7fff0000
+[ 6237.696019] dmfe: tdes0=7fff0000
+[ 6237.696022] dmfe: tdes0=7fff0000
+[ 6238.028810] dmfe: tdes0=7fff0000
+[ 6238.028814] dmfe: tdes0=7fff0000
+[ 6238.073544] dmfe: tdes0=7fff0000
+[ 6238.073547] dmfe: tdes0=7fff0000
+
+With dynamic debugging available, I think it makes no sense to enable
+debugging messages by default, especially for such old drivers which
+aren't been actively developed any longer.
+
+Signed-off-by: Jean Delvare <jdelvare@suse.de>
+Cc: Grant Grundler <grundler@parisc-linux.org>
+---
+ drivers/net/tulip/Makefile | 2 --
+ 1 file changed, 2 deletions(-)
+
+--- a/drivers/net/tulip/Makefile
++++ b/drivers/net/tulip/Makefile
+@@ -2,8 +2,6 @@
+ # Makefile for the Linux "Tulip" family network device drivers.
+ #
+
+-ccflags-$(CONFIG_NET_TULIP) := -DDEBUG
+-
+ obj-$(CONFIG_PCMCIA_XIRCOM) += xircom_cb.o
+ obj-$(CONFIG_DM9102) += dmfe.o
+ obj-$(CONFIG_WINBOND_840) += winbond-840.o
diff --git a/series.conf b/series.conf
index aa58cd72e8..9a95d14952 100644
--- a/series.conf
+++ b/series.conf
@@ -381,6 +381,7 @@
# Network
########################################################
patches.fixes/tulip-quad-NIC-ifdown
+ patches.fixes/net-tulip-debug-off-by-default.patch
patches.drivers/ehea-modinfo.patch
########################################################