m480_eth: fix alignment

Previous commit was wrong (github does not show tabs properly)
pull/12839/head
Martin Kojtal 2020-04-24 14:18:55 +01:00 committed by GitHub
parent 60c58a62a4
commit ca0161af22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ static int reset_phy(void)
delayCnt = 2000;
while(delayCnt > 0) {
delayCnt--;
delayCnt--;
if((mdio_read(CONFIG_PHY_ADDR, MII_BMCR) & BMCR_RESET) == 0)
break;
@ -101,7 +101,7 @@ static int reset_phy(void)
delayCnt = 200000;
while(delayCnt > 0) {
delayCnt--;
delayCnt--;
if((mdio_read(CONFIG_PHY_ADDR, MII_BMSR) & (BMSR_ANEGCOMPLETE | BMSR_LSTATUS))
== (BMSR_ANEGCOMPLETE | BMSR_LSTATUS))
break;