colinux64/patch/serial-2.6.33.diff
2025-02-13 19:09:34 -07:00

45 lines
1.5 KiB
Diff
Executable File

Serial support
Index: linux-2.6.33-source/drivers/char/Kconfig
===================================================================
--- linux-2.6.33-source.orig/drivers/char/Kconfig
+++ linux-2.6.33-source/drivers/char/Kconfig
@@ -112,7 +112,7 @@
config SERIAL_NONSTANDARD
bool "Non-standard serial port support"
- depends on HAS_IOMEM
+ depends on HAS_IOMEM && !COOPERATIVE
---help---
Say Y here if you have any non-standard serial boards -- boards
which aren't supported using the standard "dumb" serial driver.
Index: linux-2.6.33-source/drivers/serial/Kconfig
===================================================================
--- linux-2.6.33-source.orig/drivers/serial/Kconfig
+++ linux-2.6.33-source/drivers/serial/Kconfig
@@ -1491,3 +1491,15 @@
Support for running a console on the GRLIB APBUART
endmenu
+
+config SERIAL_COOPERATIVE
+ bool "coLinux serial device support"
+ depends on COOPERATIVE
+ default y
+ help
+ Say Y, if you have colinux
+
+config SERIAL_COOPERATIVE_CONSOLE
+ bool "coLinux serial console support"
+ depends on SERIAL_COOPERATIVE=y
+ select SERIAL_CORE_CONSOLE
Index: linux-2.6.33-source/drivers/serial/Makefile
===================================================================
--- linux-2.6.33-source.orig/drivers/serial/Makefile
+++ linux-2.6.33-source/drivers/serial/Makefile
@@ -82,3 +82,4 @@
obj-$(CONFIG_SERIAL_QE) += ucc_uart.o
obj-$(CONFIG_SERIAL_TIMBERDALE) += timbuart.o
obj-$(CONFIG_SERIAL_GRLIB_GAISLER_APBUART) += apbuart.o
+obj-$(CONFIG_SERIAL_COOPERATIVE) += coserial.o