Fixes from Compex to make OpenWrt run on WP54AG, thanks !
[openwrt.git] / target / linux / adm5120-2.6 / patches / 004-adm5120_uart.patch
1 diff -urN linux-2.6.19.2/drivers/serial/Kconfig linux-2.6.19.2-adm5120/drivers/serial/Kconfig
2 --- linux-2.6.19.2/drivers/serial/Kconfig 2007-01-10 20:10:37.000000000 +0100
3 +++ linux-2.6.19.2-adm5120/drivers/serial/Kconfig 2007-01-23 01:13:39.000000000 +0100
4 @@ -246,6 +246,22 @@
5
6 comment "Non-8250 serial port support"
7
8 +config SERIAL_ADM5120
9 + bool "ADM5120 serial port support"
10 + depends on MIPS_ADM5120
11 + select SERIAL_CORE
12 + select SERIAL_CORE_CONSOLE
13 + help
14 + Driver for the on chip UARTs on the ADM5120 SoC
15 +
16 +config ADM5120_NR_UARTS
17 + int "Maximum number of ADM5120 serial ports"
18 + depends on SERIAL_ADM5120
19 + default "2"
20 + ---help---
21 + Set this to the number of serial ports you want the driver to
22 + support.
23 +
24 config SERIAL_AMBA_PL010
25 tristate "ARM AMBA PL010 serial port support"
26 depends on ARM_AMBA && (BROKEN || !ARCH_VERSATILE)
27 diff -urN linux-2.6.19.2/drivers/serial/Makefile linux-2.6.19.2-adm5120/drivers/serial/Makefile
28 --- linux-2.6.19.2/drivers/serial/Makefile 2007-01-10 20:10:37.000000000 +0100
29 +++ linux-2.6.19.2-adm5120/drivers/serial/Makefile 2007-01-23 01:21:45.000000000 +0100
30 @@ -20,6 +20,7 @@
31 obj-$(CONFIG_SERIAL_8250_HUB6) += 8250_hub6.o
32 obj-$(CONFIG_SERIAL_8250_MCA) += 8250_mca.o
33 obj-$(CONFIG_SERIAL_8250_AU1X00) += 8250_au1x00.o
34 +obj-$(CONFIG_SERIAL_ADM5120) += adm5120_uart.o
35 obj-$(CONFIG_SERIAL_AMBA_PL010) += amba-pl010.o
36 obj-$(CONFIG_SERIAL_AMBA_PL011) += amba-pl011.o
37 obj-$(CONFIG_SERIAL_CLPS711X) += clps711x.o
38 diff -urN linux-2.6.19.2/include/linux/serial_core.h linux-2.6.19.2-adm5120/include/linux/serial_core.h
39 --- linux-2.6.19.2/include/linux/serial_core.h 2007-01-10 20:10:37.000000000 +0100
40 +++ linux-2.6.19.2-adm5120/include/linux/serial_core.h 2007-01-23 01:13:39.000000000 +0100
41 @@ -133,6 +133,9 @@
42 #define PORT_S3C2412 73
43
44
45 +/* ADMtek ADM5120 SoC */
46 +#define PORT_ADM5120 68
47 +
48 #ifdef __KERNEL__
49
50 #include <linux/compiler.h>
This page took 0.041074 seconds and 5 git commands to generate.