mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 11:09:57 +08:00
merge upstream fixes on mdio loop
SVN-Revision: 18335
This commit is contained in:
parent
43f444a58c
commit
e9a02ff509
@ -8,6 +8,15 @@
|
|||||||
|
|
||||||
#include <bcm63xx_dev_enet.h>
|
#include <bcm63xx_dev_enet.h>
|
||||||
#include "bcm63xx_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 @@
|
@@ -321,7 +320,7 @@
|
||||||
if (len < copybreak) {
|
if (len < copybreak) {
|
||||||
struct sk_buff *nskb;
|
struct sk_buff *nskb;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user