summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx/patches-2.6.37/211-b44_timeout_spam.patch
diff options
context:
space:
mode:
authoracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-11-10 19:01:07 +0000
committeracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-11-10 19:01:07 +0000
commit16afabf47d3f67930f7acef9fff8b449cba9499c (patch)
tree5dae20befd028042840a11da0fb0cd36ad274fee /target/linux/brcm47xx/patches-2.6.37/211-b44_timeout_spam.patch
parentf1df0b7ca4032343eaf1567df037ec2dcef31dce (diff)
linux/brcm47xx: add preliminary 2.6.37 kernel support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23945 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx/patches-2.6.37/211-b44_timeout_spam.patch')
-rw-r--r--target/linux/brcm47xx/patches-2.6.37/211-b44_timeout_spam.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/brcm47xx/patches-2.6.37/211-b44_timeout_spam.patch b/target/linux/brcm47xx/patches-2.6.37/211-b44_timeout_spam.patch
new file mode 100644
index 0000000000..f333d71d80
--- /dev/null
+++ b/target/linux/brcm47xx/patches-2.6.37/211-b44_timeout_spam.patch
@@ -0,0 +1,15 @@
+--- a/drivers/net/b44.c
++++ b/drivers/net/b44.c
+@@ -188,10 +188,11 @@ static int b44_wait_bit(struct b44 *bp,
+ udelay(10);
+ }
+ if (i == timeout) {
++#if 0
+ if (net_ratelimit())
+ netdev_err(bp->dev, "BUG! Timeout waiting for bit %08x of register %lx to %s\n",
+ bit, reg, clear ? "clear" : "set");
+-
++#endif
+ return -ENODEV;
+ }
+ return 0;