1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-05 22:36:22 +03:00

[brcm63xx] merge upstream fixes on mdio loop

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18335 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2009-11-07 12:48:17 +00:00
parent a8a51aaf29
commit 4a5b5bdb00

View File

@ -8,6 +8,15 @@
#include <bcm63xx_dev_enet.h>
#include "bcm63xx_enet.h"
@@ -91,7 +90,7 @@
if (enet_readl(priv, ENET_IR_REG) & ENET_IR_MII)
break;
udelay(1);
- } while (limit-- >= 0);
+ } while (limit-- > 0);
return (limit < 0) ? 1 : 0;
}
@@ -321,7 +320,7 @@
if (len < copybreak) {
struct sk_buff *nskb;