summaryrefslogtreecommitdiffstats
path: root/drivers/tsi108_eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tsi108_eth.c')
-rw-r--r--drivers/tsi108_eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tsi108_eth.c b/drivers/tsi108_eth.c
index 47341bee7f..a25728eac3 100644
--- a/drivers/tsi108_eth.c
+++ b/drivers/tsi108_eth.c
@@ -27,7 +27,7 @@
#include <config.h>
-#if (CONFIG_COMMANDS & CFG_CMD_NET) && defined(CONFIG_NET_MULTI) \
+#if ((CONFIG_COMMANDS & CFG_CMD_NET) || defined(CONFIG_CMD_NET)) && defined(CONFIG_NET_MULTI) \
&& defined(CONFIG_TSI108_ETH)
#if !defined(CONFIG_TSI108_ETH_NUM_PORTS) || (CONFIG_TSI108_ETH_NUM_PORTS > 2)
OpenPOWER on IntegriCloud