diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2012-09-24 08:39:44 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-26 13:39:39 -0700 |
commit | 6e62bdc07e1b397704354cf3bd58950943ecaaf1 (patch) | |
tree | 71f6170d74ffa166ad1e70a22c066eda76412788 /net/dcb | |
parent | fbbb9d9646f04768d0176f75e7fc93d29457b5db (diff) |
Powerpc 8xx CPM_UART setting MAXIDL register proportionaly to baud rate
MAXIDL is the timeout after which a receive buffer is closed when not full if
no more characters are received. We calculate it from the baudrate so that the
duration is always the same at standard rates: about 4ms. At 9600 bauds it gives
a timeout of 4 characters, which is the timeout on the 8250 UART.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/dcb')
0 files changed, 0 insertions, 0 deletions