summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-06-04 05:38:02 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-06-10 08:16:44 -0500
commitbbd1b0bc61f6ef46b58ad9bf360eecf2a5c1915c (patch)
tree7de4b5683b987a43e7208f77310f1c0a75d81da2
parentf121217cee8d3d59c869b4f9837fcb78cc348537 (diff)
add Etrax ethernet infrastructure
-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