Browse Source

ci20: add davicom driver

Waldemar Brodkorb 6 years ago
parent
commit
7a38710690
2 changed files with 13 additions and 0 deletions
  1. 10 0
      target/linux/config/Config.in.ethernet
  2. 3 0
      target/linux/config/Config.in.gpio

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

@@ -490,4 +490,14 @@ config ADK_KERNEL_ALTERA_TSE
 	help
 	  This driver supports the NIOS2 ethernet chips.
 
+config ADK_KERNEL_DM9000
+	tristate "Davicom 9000"
+	select ADK_KERNEL_GPIO_GENERIC_PLATFORM
+	select ADK_KERNEL_REGULATOR
+	depends on ADK_TARGET_SYSTEM_IMGTEC_CI20
+	default y if ADK_TARGET_SYSTEM_IMGTEC_CI20
+	default n
+	help
+	  Davicom 9000 ethernet driver.
+
 endmenu

+ 3 - 0
target/linux/config/Config.in.gpio

@@ -16,6 +16,9 @@ config ADK_KERNEL_GPIO_GENERIC
 config ADK_KERNEL_GPIO_DEVRES
 	bool
 
+config ADK_KERNEL_GPIO_GENERIC_PLATFORM
+	bool
+
 config ADK_KERNEL_BCM2708_GPIO
 	bool
 	select ADK_KERNEL_GPIOLIB