1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 20:38:57 +02:00

[backfire] merge b44 spam fix from r22110

git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22111 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2010-07-10 00:49:29 +00:00
parent b50614e1f7
commit e7085b58aa
2 changed files with 18 additions and 1 deletions

View File

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

View File

@ -1,6 +1,6 @@
--- a/drivers/net/b44.c --- a/drivers/net/b44.c
+++ b/drivers/net/b44.c +++ b/drivers/net/b44.c
@@ -848,7 +848,7 @@ static int b44_rx(struct b44 *bp, int bu @@ -850,7 +850,7 @@ static int b44_rx(struct b44 *bp, int bu
struct sk_buff *copy_skb; struct sk_buff *copy_skb;
b44_recycle_rx(bp, cons, bp->rx_prod); b44_recycle_rx(bp, cons, bp->rx_prod);