We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60c58a6 commit ca0161aCopy full SHA for ca0161a
features/netsocket/emac-drivers/TARGET_NUVOTON_EMAC/TARGET_M480/m480_eth.c
@@ -79,7 +79,7 @@ static int reset_phy(void)
79
80
delayCnt = 2000;
81
while(delayCnt > 0) {
82
- delayCnt--;
+ delayCnt--;
83
if((mdio_read(CONFIG_PHY_ADDR, MII_BMCR) & BMCR_RESET) == 0)
84
break;
85
@@ -101,7 +101,7 @@ static int reset_phy(void)
101
102
delayCnt = 200000;
103
104
105
if((mdio_read(CONFIG_PHY_ADDR, MII_BMSR) & (BMSR_ANEGCOMPLETE | BMSR_LSTATUS))
106
== (BMSR_ANEGCOMPLETE | BMSR_LSTATUS))
107
0 commit comments