From: Matt Schulte Date: Tue, 20 Nov 2012 17:25:40 +0000 (-0600) Subject: serial: Add initialization of sampling mode and tx/rx triggers to pci_xr17v35x_setup X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f965b9c46bf832daff8e31796486e7e424bd72c5;p=linux-beck.git 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 Signed-off-by: Greg Kroah-Hartman --- 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);