From bbd1b0bc61f6ef46b58ad9bf360eecf2a5c1915c Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 4 Jun 2015 05:38:02 -0500 Subject: add Etrax ethernet infrastructure --- target/cris/kernel/qemu-cris | 1 - target/linux/config/Config.in.ethernet | 10 ++++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'target') 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 -- cgit v1.2.3