diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/linux/gumstix-kernel-2.6.21/serial-divisor.patch | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'packages/linux/gumstix-kernel-2.6.21/serial-divisor.patch')
-rw-r--r-- | packages/linux/gumstix-kernel-2.6.21/serial-divisor.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/packages/linux/gumstix-kernel-2.6.21/serial-divisor.patch b/packages/linux/gumstix-kernel-2.6.21/serial-divisor.patch deleted file mode 100644 index efce5a51ef..0000000000 --- a/packages/linux/gumstix-kernel-2.6.21/serial-divisor.patch +++ /dev/null @@ -1,31 +0,0 @@ -Index: linux-2.6.21gum/drivers/serial/pxa.c -=================================================================== ---- linux-2.6.21gum.orig/drivers/serial/pxa.c -+++ linux-2.6.21gum/drivers/serial/pxa.c -@@ -41,6 +41,7 @@ - #include <linux/platform_device.h> - #include <linux/tty.h> - #include <linux/tty_flip.h> -+#include <linux/serial.h> - #include <linux/serial_core.h> - - #include <asm/io.h> -@@ -577,8 +578,16 @@ static void serial_pxa_config_port(struc - static int - serial_pxa_verify_port(struct uart_port *port, struct serial_struct *ser) - { -- /* we don't want the core code to modify any port params */ -- return -EINVAL; -+ struct uart_pxa_port *up = (struct uart_pxa_port *)port; -+ int ret = 0; -+ -+ if (up->port.uartclk / 16 != ser->baud_base) -+ ret = -EINVAL; -+ else if (((up->port.line & 1) == 0) && ser->baud_base > 230400) /* Max baud rate for STUART and FFUART */ -+ ret = -EINVAL; -+ else if (((up->port.line & 1) != 0) && ser->baud_base > 921600) /* Max baud rate for HWUART and BTUART */ -+ ret = -EINVAL; -+ return ret; - } - - static const char * |