diff options
-rw-r--r-- | drivers/net/b44.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/drivers/net/b44.c b/drivers/net/b44.c index 9091c6574b1c..f21cbe63c7b1 100644 --- a/drivers/net/b44.c +++ b/drivers/net/b44.c | |||
@@ -189,11 +189,13 @@ static int b44_wait_bit(struct b44 *bp, unsigned long reg, | |||
189 | udelay(10); | 189 | udelay(10); |
190 | } | 190 | } |
191 | if (i == timeout) { | 191 | if (i == timeout) { |
192 | printk(KERN_ERR PFX "%s: BUG! Timeout waiting for bit %08x of register " | 192 | if (net_ratelimit()) |
193 | "%lx to %s.\n", | 193 | printk(KERN_ERR PFX "%s: BUG! Timeout waiting for bit " |
194 | bp->dev->name, | 194 | "%08x of register " |
195 | bit, reg, | 195 | "%lx to %s.\n", |
196 | (clear ? "clear" : "set")); | 196 | bp->dev->name, |
197 | bit, reg, | ||
198 | (clear ? "clear" : "set")); | ||
197 | return -ENODEV; | 199 | return -ENODEV; |
198 | } | 200 | } |
199 | return 0; | 201 | return 0; |