From af612f6fad2e2ac509198200f17a0adf531d607b Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 27 Jan 2015 14:26:10 -0600 Subject: [PATCH] Unix domain: More fixed to build without Ethernet or Slip --- arch/sim/src/up_idle.c | 2 +- arch/sim/src/up_initialize.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/sim/src/up_idle.c b/arch/sim/src/up_idle.c index ae7c2d7040..3cc7875b99 100644 --- a/arch/sim/src/up_idle.c +++ b/arch/sim/src/up_idle.c @@ -117,7 +117,7 @@ void up_idle(void) #endif -#ifdef CONFIG_NET +#ifdef CONFIG_NET_ETHERNET /* Run the network if enabled */ netdriver_loop(); diff --git a/arch/sim/src/up_initialize.c b/arch/sim/src/up_initialize.c index 6ae39f94ae..82eb32d1ce 100644 --- a/arch/sim/src/up_initialize.c +++ b/arch/sim/src/up_initialize.c @@ -158,7 +158,7 @@ void up_initialize(void) up_registerblockdevice(); /* Our FAT ramdisk at /dev/ram0 */ #endif -#ifdef CONFIG_NET +#ifdef CONFIG_NET_ETHERNET netdriver_init(); /* Our "real" network driver */ #endif