summaryrefslogtreecommitdiff
path: root/drivers/net/lan91c96.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/lan91c96.c')
-rw-r--r--drivers/net/lan91c96.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/lan91c96.c b/drivers/net/lan91c96.c
index c23a4000a28..318bdf4a15c 100644
--- a/drivers/net/lan91c96.c
+++ b/drivers/net/lan91c96.c
@@ -267,7 +267,7 @@ static void smc_shutdown (void);
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 (LAN91C96_BANK_SELECT);