diff options
author | Johannes Thumshirn <johannes.thumshirn@men.de> | 2015-01-19 07:44:41 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-02-02 19:11:27 +0100 |
commit | 01ba8d6af4b76aee99a8ae3a76748c8c36db49f3 (patch) | |
tree | 320426c9174014d2d23e9bef3c6fcb5bfd2020c3 /block | |
parent | serial: core: Simplify console suspend logic in uart_suspend_port() (diff) | |
download | linux-01ba8d6af4b76aee99a8ae3a76748c8c36db49f3.tar.xz linux-01ba8d6af4b76aee99a8ae3a76748c8c36db49f3.zip |
tty: serial: men_z135_uart: Fix driver for changes in hardware
16z135 IP Core has changed so the driver needs to be updated to respect
these changes. The following changes have been made:
* Don't invert the 16z135 modem status register when reading.
* Add module parameter to configure the (baud rate dependent) RX timeout.
Character timeout in seconds = (timeout_reg * baud_reg * 4)/freq_reg.
* Enable the handling of UART core's automatic flow control feature.
When AFE is active disable generation of modem status IRQs.
* Rework the handling of IRQs to be conform with newer FPGA versions and
take precautions not to miss an interrupt because of the destructive read
of the IIR register.
* Correct men_z135_handle_modem_status(), MSR is stat_reg[15:8] not
stat_reg[7:0]
* Correct calling of uart_handle_{dcd,cts}_change()
* Reset CLOCAL when CRTSCTS is set
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@men.de>
Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions