Browse Source

add Etrax ethernet infrastructure

Waldemar Brodkorb 9 years ago
parent
commit
bbd1b0bc61
2 changed files with 10 additions and 1 deletions
  1. 0 1
      target/cris/kernel/qemu-cris
  2. 10 0
      target/linux/config/Config.in.ethernet

+ 0 - 1
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

+ 10 - 0
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