浏览代码

nios2: we can use qmp now, latest qemu-system-nios2 implements ethernet driver emulation

Waldemar Brodkorb 8 年之前
父节点
当前提交
b4898bf882
共有 2 个文件被更改,包括 10 次插入1 次删除
  1. 1 1
      package/adktest/src/quit
  2. 9 0
      target/linux/config/Config.in.ethernet

+ 1 - 1
package/adktest/src/quit

@@ -1,7 +1,7 @@
 #!/bin/sh
 arch=$(uname -m)
 case $arch in
-  arc|blackfin|m68k|metag|nios2|openrisc|s390x|sh4eb)
+  arc|blackfin|m68k|metag|openrisc|s390x|sh4eb)
     poweroff
     ;;
   *)

+ 9 - 0
target/linux/config/Config.in.ethernet

@@ -465,4 +465,13 @@ config ADK_KERNEL_SGI_O2MACE_ETH
 	help
 	  This driver supports the SGI O2 ethernet card.
 
+config ADK_KERNEL_ALTERA_TSE
+	tristate "Altera TSE ethernet driver"
+	select ADK_KERNEL_PHYLIB
+	depends on ADK_TARGET_SYSTEM_QEMU_NIOS2
+	default y if ADK_TARGET_SYSTEM_QEMU_NIOS2
+	default n
+	help
+	  This driver supports the NIOS2 ethernet chips.
+
 endmenu