Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=3c04c27251c4d064f16846c305cbc1ff2f5b5fbe
Commit:     3c04c27251c4d064f16846c305cbc1ff2f5b5fbe
Parent:     1a86b5e34e4d09e3246a983c53929ce38af52275
Author:     Len Sorensen <[EMAIL PROTECTED]>
AuthorDate: Tue May 8 00:26:30 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue May 8 11:15:03 2007 -0700

    Small fixes for jsm driver
    
    The jsm driver fails when you try to use the TIOCSSERIAL ioctl.  The reason
    is that the driver never sets uart_port.uartclk, causing the data received
    using TIOCGSERIAL to not match the internal state of the driver.  This
    patch fixes this problem by settings the uartclk to the value used by the
    serial_core (16 times the baud base).
    
    Signed-off-by: Len Sorensen <[EMAIL PROTECTED]>
    Cc: Scott H Kilau <[EMAIL PROTECTED]>
    Cc: Wendy Xiong <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 drivers/serial/jsm/jsm_tty.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/serial/jsm/jsm_tty.c b/drivers/serial/jsm/jsm_tty.c
index be22bbd..281f23a 100644
--- a/drivers/serial/jsm/jsm_tty.c
+++ b/drivers/serial/jsm/jsm_tty.c
@@ -448,6 +448,7 @@ int jsm_uart_port_init(struct jsm_board *brd)
                        continue;
 
                brd->channels[i]->uart_port.irq = brd->irq;
+               brd->channels[i]->uart_port.uartclk = 14745600;
                brd->channels[i]->uart_port.type = PORT_JSM;
                brd->channels[i]->uart_port.iotype = UPIO_MEM;
                brd->channels[i]->uart_port.membase = brd->re_map_membase;
-
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