2007-07-11 13:00:27 +00:00
|
|
|
Index: linux-2.6.22/drivers/serial/Makefile
|
2007-06-13 18:06:38 +00:00
|
|
|
===================================================================
|
2007-07-11 13:00:27 +00:00
|
|
|
--- linux-2.6.22.orig/drivers/serial/Makefile
|
|
|
|
+++ linux-2.6.22/drivers/serial/Makefile
|
2007-06-13 18:06:38 +00:00
|
|
|
@@ -21,6 +21,7 @@ obj-$(CONFIG_SERIAL_8250_EXAR_ST16C554)
|
|
|
|
obj-$(CONFIG_SERIAL_8250_HUB6) += 8250_hub6.o
|
|
|
|
obj-$(CONFIG_SERIAL_8250_MCA) += 8250_mca.o
|
|
|
|
obj-$(CONFIG_SERIAL_8250_AU1X00) += 8250_au1x00.o
|
|
|
|
+obj-$(CONFIG_SERIAL_ADM5120) += adm5120_uart.o
|
|
|
|
obj-$(CONFIG_SERIAL_AMBA_PL010) += amba-pl010.o
|
|
|
|
obj-$(CONFIG_SERIAL_AMBA_PL011) += amba-pl011.o
|
|
|
|
obj-$(CONFIG_SERIAL_CLPS711X) += clps711x.o
|
2007-07-11 13:00:27 +00:00
|
|
|
Index: linux-2.6.22/include/linux/serial_core.h
|
2007-06-13 18:06:38 +00:00
|
|
|
===================================================================
|
2007-07-11 13:00:27 +00:00
|
|
|
--- linux-2.6.22.orig/include/linux/serial_core.h
|
|
|
|
+++ linux-2.6.22/include/linux/serial_core.h
|
2007-06-28 16:08:28 +00:00
|
|
|
@@ -143,6 +143,9 @@
|
|
|
|
#define PORT_KS8695 76
|
|
|
|
|
2007-06-13 18:06:38 +00:00
|
|
|
|
|
|
|
+/* ADMtek ADM5120 SoC */
|
2007-06-28 16:08:28 +00:00
|
|
|
+#define PORT_ADM5120 77
|
2007-06-13 18:06:38 +00:00
|
|
|
+
|
|
|
|
#ifdef __KERNEL__
|
|
|
|
|
|
|
|
#include <linux/compiler.h>
|
2007-07-11 13:00:27 +00:00
|
|
|
Index: linux-2.6.22/drivers/serial/Kconfig
|
2007-06-13 18:06:38 +00:00
|
|
|
===================================================================
|
2007-07-11 13:00:27 +00:00
|
|
|
--- linux-2.6.22.orig/drivers/serial/Kconfig
|
|
|
|
+++ linux-2.6.22/drivers/serial/Kconfig
|
2007-06-28 16:08:28 +00:00
|
|
|
@@ -270,6 +270,22 @@ config SERIAL_8250_RM9K
|
2007-06-13 18:06:38 +00:00
|
|
|
|
2007-03-19 19:38:12 +00:00
|
|
|
comment "Non-8250 serial port support"
|
2007-06-13 18:06:38 +00:00
|
|
|
|
2007-03-19 17:34:37 +00:00
|
|
|
+config SERIAL_ADM5120
|
2007-03-19 19:38:12 +00:00
|
|
|
+ bool "ADM5120 serial port support"
|
|
|
|
+ depends on MIPS_ADM5120
|
|
|
|
+ select SERIAL_CORE
|
|
|
|
+ select SERIAL_CORE_CONSOLE
|
|
|
|
+ help
|
|
|
|
+ Driver for the on chip UARTs on the ADM5120 SoC
|
2007-03-19 17:34:37 +00:00
|
|
|
+
|
|
|
|
+config ADM5120_NR_UARTS
|
2007-03-19 19:38:12 +00:00
|
|
|
+ int "Maximum number of ADM5120 serial ports"
|
|
|
|
+ depends on SERIAL_ADM5120
|
|
|
|
+ default "2"
|
|
|
|
+ ---help---
|
|
|
|
+ Set this to the number of serial ports you want the driver to
|
|
|
|
+ support.
|
2007-03-19 17:34:37 +00:00
|
|
|
+
|
|
|
|
config SERIAL_AMBA_PL010
|
2007-06-13 18:06:38 +00:00
|
|
|
tristate "ARM AMBA PL010 serial port support"
|
|
|
|
depends on ARM_AMBA && (BROKEN || !ARCH_VERSATILE)
|