summaryrefslogtreecommitdiff
path: root/drivers/net/ns7520_eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ns7520_eth.c')
-rw-r--r--drivers/net/ns7520_eth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ns7520_eth.c b/drivers/net/ns7520_eth.c
index e19c2232557..c28726e698f 100644
--- a/drivers/net/ns7520_eth.c
+++ b/drivers/net/ns7520_eth.c
@@ -86,8 +86,8 @@ static int nDebugLvl = DEBUG_ERROR_CRIT;
# define ASSERT(expr, func)
#endif /* DEBUG */
-#define NS7520_MII_NEG_DELAY (5*CFG_HZ) /* in s */
-#define TX_TIMEOUT (5*CFG_HZ) /* in s */
+#define NS7520_MII_NEG_DELAY (5*CONFIG_SYS_HZ) /* in s */
+#define TX_TIMEOUT (5*CONFIG_SYS_HZ) /* in s */
#define RX_STALL_WORKAROUND_CNT 100
static int ns7520_eth_reset(void);