在mini2440上移植u-boot-2009.08的DM9000时老是出现“could not establish link”。
请问各位这是什么原因导致的。
这是我的代码配置:
#if 1 //internet delay loop
i = 0;
while (!(phy_read(1) & 0x20)) { /* autonegation complete bit */
udelay(1000);
i++;
if (i == 3000) {
printf("could not establish link\n");
return 0;
}
}
#endif