瀏覽代碼

Add support for the 8250 UART module.

It has been added at the end of other.mk as i couldn't find a better place
for it.

Signed-off-by: Christian Gagneraud <[email protected]>

SVN-Revision: 30989
Jo-Philipp Wich 13 年之前
父節點
當前提交
60b39b7fc0
共有 1 個文件被更改,包括 18 次插入0 次删除
  1. 18 0
      package/kernel/modules/other.mk

+ 18 - 0
package/kernel/modules/other.mk

@@ -872,3 +872,21 @@ endef
 
 
 $(eval $(call KernelPackage,nandsim))
 $(eval $(call KernelPackage,nandsim))
 
 
+define KernelPackage/serial-8250
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:=8250 UARTs
+  KCONFIG:= CONFIG_SERIAL_8250 \
+	CONFIG_SERIAL_8250_NR_UARTS=16 \
+  	CONFIG_SERIAL_8250_RUNTIME_UARTS=16 \
+  	CONFIG_SERIAL_8250_EXTENDED=y \
+  	CONFIG_SERIAL_8250_MANY_PORTS=y \
+  	CONFIG_SERIAL_8250_SHARE_IRQ=y
+  FILES:=$(LINUX_DIR)/drivers/tty/serial/8250.ko
+endef
+
+define KernelPackage/serial-8250/description
+ Kernel module for 8250 UART based serial ports.
+endef
+
+$(eval $(call KernelPackage,serial-8250))
+