Browse Source

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

Waldemar Brodkorb 7 years ago
parent
commit
b4898bf882
2 changed files with 10 additions and 1 deletions
  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