colinux64/patch/serial-2.6.33.diff
2025-02-13 19:44:47 -07:00

43 lines
1.5 KiB
Diff
Executable File

Serial support
Index: linux-2.6.33-source/drivers/char/Makefile
===================================================================
--- linux-2.6.33-source.orig/drivers/char/Makefile
+++ linux-2.6.33-source/drivers/char/Makefile
@@ -26,6 +26,7 @@
obj-$(CONFIG_CYCLADES) += cyclades.o
obj-$(CONFIG_STALLION) += stallion.o
obj-$(CONFIG_ISTALLION) += istallion.o
+obj-$(CONFIG_SERIAL_COOPERATIVE) += coserial.o
obj-$(CONFIG_NOZOMI) += nozomi.o
obj-$(CONFIG_DIGIEPCA) += epca.o
obj-$(CONFIG_SPECIALIX) += specialix.o
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,10 @@
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