projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mips: allow the compiler to optimize memset, memcmp, memcpy for better performance...
[openwrt.git]
/
target
/
linux
/
xburst
/
patches-2.6.32
/
103-serial.patch
diff --git
a/target/linux/xburst/patches-2.6.32/103-serial.patch
b/target/linux/xburst/patches-2.6.32/103-serial.patch
index
13292d0
..
2401248
100644
(file)
--- a/
target/linux/xburst/patches-2.6.32/103-serial.patch
+++ b/
target/linux/xburst/patches-2.6.32/103-serial.patch
@@
-7,11
+7,9
@@
Subject: [PATCH] /opt/Projects/openwrt/target/linux/xburst/patches-2.6.31/103-se
drivers/serial/8250.c | 104 ++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 103 insertions(+), 1 deletions(-)
drivers/serial/8250.c | 104 ++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 103 insertions(+), 1 deletions(-)
-diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c
-index 737b4c9..65ee974 100644
--- a/drivers/serial/8250.c
+++ b/drivers/serial/8250.c
--- a/drivers/serial/8250.c
+++ b/drivers/serial/8250.c
-@@ -196,7 +196,7 @@ static const struct serial8250_config ua
rt_config[] = {
+@@ -196,7 +196,7 @@ static const struct serial8250_config ua
[PORT_16550A] = {
.name = "16550A",
.fifo_size = 16,
[PORT_16550A] = {
.name = "16550A",
.fifo_size = 16,
@@
-20,7
+18,7
@@
index 737b4c9..65ee974 100644
.fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10,
.flags = UART_CAP_FIFO,
},
.fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10,
.flags = UART_CAP_FIFO,
},
-@@ -403,6 +403,10 @@ static unsigned int mem_serial_in(struct
uart_port *p, int offset)
+@@ -403,6 +403,10 @@ static unsigned int mem_serial_in(struct
static void mem_serial_out(struct uart_port *p, int offset, int value)
{
offset = map_8250_out_reg(p, offset) << p->regshift;
static void mem_serial_out(struct uart_port *p, int offset, int value)
{
offset = map_8250_out_reg(p, offset) << p->regshift;
@@
-31,7
+29,7
@@
index 737b4c9..65ee974 100644
writeb(value, p->membase + offset);
}
writeb(value, p->membase + offset);
}
-@@ -221
5,6 +2219,83 @@ static void serial8250_shutdown(struct uart_port *port)
+@@ -221
3,6 +2217,83 @@ static void serial8250_shutdown(struct u
serial_unlink_irq_chain(up);
}
serial_unlink_irq_chain(up);
}
@@
-115,7
+113,7
@@
index 737b4c9..65ee974 100644
static unsigned int serial8250_get_divisor(struct uart_port *port, unsigned int baud)
{
unsigned int quot;
static unsigned int serial8250_get_divisor(struct uart_port *port, unsigned int baud)
{
unsigned int quot;
-@@ -223
4,6 +2315,7 @@ static unsigned int serial8250_get_divisor(struct uart_port *port, unsigned int
+@@ -223
2,6 +2313,7 @@ static unsigned int serial8250_get_divis
return quot;
}
return quot;
}
@@
-123,7
+121,7
@@
index 737b4c9..65ee974 100644
static void
serial8250_set_termios(struct uart_port *port, struct ktermios *termios,
static void
serial8250_set_termios(struct uart_port *port, struct ktermios *termios,
-@@ -224
3,6 +2325,9 @@ serial8250_set_termios(struct uart_port *port, struct ktermios *termios,
+@@ -224
1,6 +2323,9 @@ serial8250_set_termios(struct uart_port
unsigned char cval, fcr = 0;
unsigned long flags;
unsigned int baud, quot;
unsigned char cval, fcr = 0;
unsigned long flags;
unsigned int baud, quot;
@@
-133,7
+131,7
@@
index 737b4c9..65ee974 100644
switch (termios->c_cflag & CSIZE) {
case CS5:
switch (termios->c_cflag & CSIZE) {
case CS5:
-@@ -227
7,7 +2362,12 @@ serial8250_set_termios(struct uart_port *port, struct ktermios *termios,
+@@ -227
5,7 +2360,12 @@ serial8250_set_termios(struct uart_port
baud = uart_get_baud_rate(port, termios, old,
port->uartclk / 16 / 0xffff,
port->uartclk / 16);
baud = uart_get_baud_rate(port, termios, old,
port->uartclk / 16 / 0xffff,
port->uartclk / 16);
@@
-146,7
+144,7
@@
index 737b4c9..65ee974 100644
/*
* Oxford Semi 952 rev B workaround
/*
* Oxford Semi 952 rev B workaround
-@@ -235
5,6 +2445,10 @@ serial8250_set_termios(struct uart_port *port, struct ktermios *termios,
+@@ -235
3,6 +2443,10 @@ serial8250_set_termios(struct uart_port
if (up->capabilities & UART_CAP_UUE)
up->ier |= UART_IER_UUE | UART_IER_RTOIE;
if (up->capabilities & UART_CAP_UUE)
up->ier |= UART_IER_UUE | UART_IER_RTOIE;
@@
-157,7
+155,7
@@
index 737b4c9..65ee974 100644
serial_out(up, UART_IER, up->ier);
if (up->capabilities & UART_CAP_EFR) {
serial_out(up, UART_IER, up->ier);
if (up->capabilities & UART_CAP_EFR) {
-@@ -238
9,7 +2483,15 @@ serial8250_set_termios(struct uart_port *port, struct ktermios *termios,
+@@ -238
7,7 +2481,15 @@ serial8250_set_termios(struct uart_port
serial_outp(up, UART_LCR, cval | UART_LCR_DLAB);/* set DLAB */
}
serial_outp(up, UART_LCR, cval | UART_LCR_DLAB);/* set DLAB */
}
@@
-173,6
+171,3
@@
index 737b4c9..65ee974 100644
/*
* LCR DLAB must be set to enable 64-byte FIFO mode. If the FCR
/*
* LCR DLAB must be set to enable 64-byte FIFO mode. If the FCR
---
-1.5.6.5
-
This page took
0.02781 seconds
and
4
git commands to generate.