Skip to content

Commit cc3493d

Browse files
committed
Plan 9 from Bell Labs 2014-04-29
1 parent 7029452 commit cc3493d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sys/src/9/pc/ethervt6105m.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,12 +1065,12 @@ vt6105Mreset(Ctlr* ctlr)
10651065
r = csr8r(ctlr, Eecsr);
10661066
csr8w(ctlr, Eecsr, Autold|r);
10671067
/* limit used to be 100, but that wasn't enough for our Soekris 5501s */
1068-
for(timeo = 0; timeo < 100000; timeo++){
1068+
for(timeo = 0; timeo < 1000000; timeo++){
10691069
if(!(csr8r(ctlr, Cr) & Autold))
10701070
break;
10711071
microdelay(1);
10721072
}
1073-
if(timeo >= 100)
1073+
if(timeo >= 1000000)
10741074
return -1;
10751075

10761076
for(i = 0; i < Eaddrlen; i++)

0 commit comments

Comments
 (0)