]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd6f0f037b9bcbf526d7bff9dfcabeea34f9f2aa4
treefb2ee32c8480ac9b71286a1c86fe0c91fd230b3e
parent7456d8ca46e7fd941dbbf06c8ed35a0d643ac9a8
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