openwrtv3/target/linux/brcm47xx/patches-3.3/211-b44_timeout_spam.patch
Hauke Mehrtens 22b2e3fbb9 brcm47xx: add support for kernel 3.3
SVN-Revision: 31573
2012-05-03 20:18:41 +00:00

15 lines
393 B
Diff

--- a/drivers/net/ethernet/broadcom/b44.c
+++ b/drivers/net/ethernet/broadcom/b44.c
@@ -187,10 +187,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;