diff options
author | Christophe Leroy <[email protected]> | 2012-09-24 08:39:44 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2012-09-26 13:39:39 -0700 |
commit | 6e62bdc07e1b397704354cf3bd58950943ecaaf1 (patch) | |
tree | 71f6170d74ffa166ad1e70a22c066eda76412788 /lib/string_helpers.c | |
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 <[email protected]>
Acked-by: Alan Cox <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions