[backfire] merge b44 spam fix from r22110
[openwrt-10.03/.git] / target / linux / brcm47xx / patches-2.6.32 / 211-b44_timeout_spam.patch
diff --git a/target/linux/brcm47xx/patches-2.6.32/211-b44_timeout_spam.patch b/target/linux/brcm47xx/patches-2.6.32/211-b44_timeout_spam.patch
new file mode 100644 (file)
index 0000000..dbd46ae
--- /dev/null
@@ -0,0 +1,17 @@
+--- a/drivers/net/b44.c
++++ b/drivers/net/b44.c
+@@ -189,11 +189,13 @@ static int b44_wait_bit(struct b44 *bp, 
+               udelay(10);
+       }
+       if (i == timeout) {
+-              printk(KERN_ERR PFX "%s: BUG!  Timeout waiting for bit %08x of register "
++#if 0
++              printk(KERN_DEBUG PFX "%s: BUG!  Timeout waiting for bit %08x of register "
+                      "%lx to %s.\n",
+                      bp->dev->name,
+                      bit, reg,
+                      (clear ? "clear" : "set"));
++#endif
+               return -ENODEV;
+       }
+       return 0;