summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/eth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/eth.c b/net/eth.c
index 67f6646..b72a4e8 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -523,8 +523,8 @@ int eth_initialize(bd_t *bis)
#if defined(CONFIG_DRIVER_NS7520_ETHERNET)
ns7520_miiphy_initialize(bis);
#endif
-#if defined(CONFIG_DRIVER_SMC911X)
- smc911x_initialize(bis);
+#if defined(CONFIG_SMC911X)
+ smc911x_initialize(0, CONFIG_SMC911X_BASE);
#endif
return 0;
}