summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target/cris/kernel/qemu-cris1
-rw-r--r--target/linux/config/Config.in.ethernet10
2 files changed, 10 insertions, 1 deletions
diff --git a/target/cris/kernel/qemu-cris b/target/cris/kernel/qemu-cris
index fa8922321..82f3d11aa 100644
--- a/target/cris/kernel/qemu-cris
+++ b/target/cris/kernel/qemu-cris
@@ -27,7 +27,6 @@ CONFIG_ETRAX_V32_LED2G="PA3"
CONFIG_ETRAX_V32_LED2R="PA3"
CONFIG_ETRAX_V32_LED3G="PA3"
CONFIG_ETRAX_V32_LED3R="PA3"
-CONFIG_ETRAX_ETHERNET=y
CONFIG_ETRAX_SERIAL_PORT0=y
CONFIG_ETRAX_SERIAL_PORT1=y
CONFIG_ETRAX_SERIAL_PORT2=y
diff --git a/target/linux/config/Config.in.ethernet b/target/linux/config/Config.in.ethernet
index 1c29d347e..17d84b7b0 100644
--- a/target/linux/config/Config.in.ethernet
+++ b/target/linux/config/Config.in.ethernet
@@ -43,6 +43,9 @@ config ADK_KERNEL_PHYLIB
config ADK_KERNEL_MII
bool
+config ADK_KERNEL_ETRAX_HAVE_PHY
+ bool
+
config ADK_KERNEL_NET_PCI
bool
@@ -269,4 +272,11 @@ config ADK_KERNEL_R8169
default y if ADK_TARGET_SYSTEM_PCENGINES_APU
default n
+config ADK_KERNEL_ETRAX_ETHERNET
+ bool "ETRAX ethernet driver"
+ select ADK_KERNEL_ETRAX_HAVE_PHY
+ depends on ADK_TARGET_ARCH_CRIS
+ default y if ADK_TARGET_ARCH_CRIS
+ default n
+
endmenu