diff options
author | Matt Schulte <matts@commtech-fastcom.com> | 2012-11-20 11:25:40 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-21 16:28:04 -0800 |
commit | f965b9c46bf832daff8e31796486e7e424bd72c5 (patch) | |
tree | 6c78bd4e3704305028503f8820ddf60de3596fc2 /drivers/tty/serial | |
parent | b7a7e14f654c80dfd3aa514adee663c74cfa4be9 (diff) | |
download | blackbird-op-linux-f965b9c46bf832daff8e31796486e7e424bd72c5.tar.gz blackbird-op-linux-f965b9c46bf832daff8e31796486e7e424bd72c5.zip |
serial: Add initialization of sampling mode and tx/rx triggers to pci_xr17v35x_setup
Add initialization of sampling mode and tx/rx triggers to pci_xr17v35x_setup
Signed-off-by: Matt Schulte <matts@commtech-fastcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r-- | drivers/tty/serial/8250/8250_pci.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/tty/serial/8250/8250_pci.c b/drivers/tty/serial/8250/8250_pci.c index 2285d3283b3b..089fd43e3784 100644 --- a/drivers/tty/serial/8250/8250_pci.c +++ b/drivers/tty/serial/8250/8250_pci.c @@ -1192,6 +1192,10 @@ pci_xr17v35x_setup(struct serial_private *priv, writeb(0x00, p + 0x99); /*MPIOSEL[15:8]*/ writeb(0x00, p + 0x9a); /*MPIOOD[15:8]*/ } + writeb(0x00, p + UART_EXAR_8XMODE); + writeb(UART_FCTR_EXAR_TRGD, p + UART_EXAR_FCTR); + writeb(128, p + UART_EXAR_TXTRG); + writeb(128, p + UART_EXAR_RXTRG); iounmap(p); return pci_default_setup(priv, board, port, idx); |