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 7029452 commit cc3493dCopy full SHA for cc3493d
sys/src/9/pc/ethervt6105m.c
@@ -1065,12 +1065,12 @@ vt6105Mreset(Ctlr* ctlr)
1065
r = csr8r(ctlr, Eecsr);
1066
csr8w(ctlr, Eecsr, Autold|r);
1067
/* limit used to be 100, but that wasn't enough for our Soekris 5501s */
1068
- for(timeo = 0; timeo < 100000; timeo++){
+ for(timeo = 0; timeo < 1000000; timeo++){
1069
if(!(csr8r(ctlr, Cr) & Autold))
1070
break;
1071
microdelay(1);
1072
}
1073
- if(timeo >= 100)
+ if(timeo >= 1000000)
1074
return -1;
1075
1076
for(i = 0; i < Eaddrlen; i++)
0 commit comments