tty: synclink_gt add receive pio mode
authorPaul Fulghum <paulkf@microgate.com>
Thu, 11 Jun 2009 11:28:37 +0000 (12:28 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Jun 2009 15:50:57 +0000 (08:50 -0700)
commit5ba5a5d21204f61ff655b322a90ed91c75194e4b
treefb2ee32c8480ac9b71286a1c86fe0c91fd230b3e
parent739e0285cbb162c8ddd0061fda581ee54a34c19a
tty: synclink_gt add receive pio mode

Add receive programmed IO mode to reduce receive latency
when using low data rates. The receive FIFO trigger
level of 128 bytes used in DMA mode creates excessive latency
when operating at low data rates. PIO mode is selected when user
application requests data in blocks of less than 128 bytes.

Signed-off-by: Paul Fulghum <paulkf@microgate.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/synclink_gt.c