X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Fnet%2Fsmc91111.c;h=82abb0201500ed3a90f84067ce3a487d75ce8174;hb=6d0f6bcf337c5261c08fabe12982178c2c489d76;hp=e8b235b4ab8f0636c5a160b80cf147dd0f2a8b21;hpb=71edc271816ec82cf0550dd6980be2da3cc2ad9e;p=karo-tx-uboot.git diff --git a/drivers/net/smc91111.c b/drivers/net/smc91111.c index e8b235b4ab..82abb02015 100644 --- a/drivers/net/smc91111.c +++ b/drivers/net/smc91111.c @@ -383,7 +383,7 @@ static void smc_write_phy_register(byte phyreg, word phydata); static int poll4int (byte mask, int timeout) { - int tmo = get_timer (0) + timeout * CFG_HZ; + int tmo = get_timer (0) + timeout * CONFIG_SYS_HZ; int is_timeout = 0; word old_bank = SMC_inw (BSR_REG);