brcm47xx: add patches for kernel 2.6.36
[openwrt/svn-archive/archive.git] / target / linux / brcm47xx / patches-2.6.36 / 211-b44_timeout_spam.patch
diff --git a/target/linux/brcm47xx/patches-2.6.36/211-b44_timeout_spam.patch b/target/linux/brcm47xx/patches-2.6.36/211-b44_timeout_spam.patch
new file mode 100644 (file)
index 0000000..4dedb82
--- /dev/null
@@ -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;