summaryrefslogtreecommitdiff
path: root/drivers/ns8382x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ns8382x.c')
-rw-r--r--drivers/ns8382x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ns8382x.c b/drivers/ns8382x.c
index 976f86a..69002cd 100644
--- a/drivers/ns8382x.c
+++ b/drivers/ns8382x.c
@@ -56,8 +56,8 @@
#include <asm/io.h>
#include <pci.h>
-#if (CONFIG_COMMANDS & CFG_CMD_NET) && defined(CONFIG_NET_MULTI) && \
- defined(CONFIG_NS8382X)
+#if ((CONFIG_COMMANDS & CFG_CMD_NET) || defined(CONFIG_CMD_NET)) \
+ && defined(CONFIG_NET_MULTI) && defined(CONFIG_NS8382X)
/* defines */
#define DSIZE 0x00000FFF