Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c16c3ca79abcb69a9e45f7c15f8358b3915c0e49
Commit:     c16c3ca79abcb69a9e45f7c15f8358b3915c0e49
Parent:     df30b1171714bbf0e55ffe02138be4b8447e4235
Author:     Mike Frysinger <[EMAIL PROTECTED]>
AuthorDate: Mon Jun 11 15:31:30 2007 +0800
Committer:  Bryan Wu <[EMAIL PROTECTED]>
CommitDate: Mon Jun 11 15:31:30 2007 +0800

    Blackfin serial driver: hook up our UARTs STP bit with userspaces CMSPAR
    
    so we can now do spaced/marked parity
    
    Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]>
    Signed-off-by: Bryan Wu <[EMAIL PROTECTED]>
---
 drivers/serial/bfin_5xx.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/serial/bfin_5xx.c b/drivers/serial/bfin_5xx.c
index 787dc71..aeb3cc2 100644
--- a/drivers/serial/bfin_5xx.c
+++ b/drivers/serial/bfin_5xx.c
@@ -629,6 +629,8 @@ bfin_serial_set_termios(struct uart_port *port, struct 
ktermios *termios,
                lcr |= PEN;
                if (!(termios->c_cflag & PARODD))
                        lcr |= EPS;
+               if (termios->c_cflag & CMSPAR)
+                       lcr |= STP;
        }
 
        port->read_status_mask = OE;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to