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>
This commit is contained in:
parent
b7a7e14f65
commit
f965b9c46b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user