diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-08-25 12:13:18 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-08-25 12:13:18 +0000 |
commit | bf79654f13dc818354376c38f74d3df789bda6de (patch) | |
tree | c38865fe0998b7dec1e1d104372aac2039ba8a20 /target/linux/ixp4xx/patches-2.6.30/191-cambria_optional_uart.patch | |
parent | 2f3a3327f81830d0b24f3f87e7b1a97b13fa0684 (diff) | |
download | master-187ad058-bf79654f13dc818354376c38f74d3df789bda6de.tar.gz master-187ad058-bf79654f13dc818354376c38f74d3df789bda6de.tar.bz2 master-187ad058-bf79654f13dc818354376c38f74d3df789bda6de.zip |
ixp4xx: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17397 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ixp4xx/patches-2.6.30/191-cambria_optional_uart.patch')
-rw-r--r-- | target/linux/ixp4xx/patches-2.6.30/191-cambria_optional_uart.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/ixp4xx/patches-2.6.30/191-cambria_optional_uart.patch b/target/linux/ixp4xx/patches-2.6.30/191-cambria_optional_uart.patch index c7b600a2ef..f4ce53a400 100644 --- a/target/linux/ixp4xx/patches-2.6.30/191-cambria_optional_uart.patch +++ b/target/linux/ixp4xx/patches-2.6.30/191-cambria_optional_uart.patch @@ -124,7 +124,7 @@ unsigned int custom_divisor; --- a/drivers/serial/8250.c +++ b/drivers/serial/8250.c -@@ -396,6 +396,20 @@ static void mem_serial_out(struct uart_p +@@ -397,6 +397,20 @@ static void mem_serial_out(struct uart_p writeb(value, p->membase + offset); } @@ -145,7 +145,7 @@ static void mem32_serial_out(struct uart_port *p, int offset, int value) { offset = map_8250_out_reg(p, offset) << p->regshift; -@@ -488,6 +502,11 @@ static void set_io_from_upio(struct uart +@@ -490,6 +504,11 @@ static void set_io_from_upio(struct uart p->serial_out = mem32_serial_out; break; @@ -157,7 +157,7 @@ #ifdef CONFIG_SERIAL_8250_AU1X00 case UPIO_AU: p->serial_in = au_serial_in; -@@ -518,6 +537,7 @@ serial_out_sync(struct uart_8250_port *u +@@ -522,6 +541,7 @@ serial_out_sync(struct uart_8250_port *u switch (p->iotype) { case UPIO_MEM: case UPIO_MEM32: @@ -165,7 +165,7 @@ #ifdef CONFIG_SERIAL_8250_AU1X00 case UPIO_AU: #endif -@@ -2433,6 +2453,7 @@ static int serial8250_request_std_resour +@@ -2440,6 +2460,7 @@ static int serial8250_request_std_resour case UPIO_MEM32: case UPIO_MEM: case UPIO_DWAPB: @@ -173,7 +173,7 @@ if (!up->port.mapbase) break; -@@ -2470,6 +2491,7 @@ static void serial8250_release_std_resou +@@ -2477,6 +2498,7 @@ static void serial8250_release_std_resou case UPIO_MEM32: case UPIO_MEM: case UPIO_DWAPB: @@ -181,7 +181,7 @@ if (!up->port.mapbase) break; -@@ -2931,6 +2953,7 @@ static int __devinit serial8250_probe(st +@@ -2946,6 +2968,7 @@ static int __devinit serial8250_probe(st port.serial_in = p->serial_in; port.serial_out = p->serial_out; port.dev = &dev->dev; @@ -189,7 +189,7 @@ if (share_irqs) port.flags |= UPF_SHARE_IRQ; ret = serial8250_register_port(&port); -@@ -3080,6 +3103,7 @@ int serial8250_register_port(struct uart +@@ -3095,6 +3118,7 @@ int serial8250_register_port(struct uart uart->port.iotype = port->iotype; uart->port.flags = port->flags | UPF_BOOT_AUTOCONF; uart->port.mapbase = port->mapbase; |