openwrt_archive/target/linux/brcm47xx/patches-2.6.32/211-b44_timeout_spam.patch
Felix Fietkau 13b44dbdbc [backfire] merge b44 spam fix from r22110
SVN-Revision: 22111
2010-07-10 00:49:29 +00:00

18 lines
467 B
Diff

--- 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;