]> git.baikalelectronics.ru Git - kernel.git/commit
synclink_gt: add rx DMA buffer fill level control
authorPaul Fulghum <paulkf@microgate.com>
Tue, 22 Jul 2008 10:22:14 +0000 (11:22 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Jul 2008 20:03:29 +0000 (13:03 -0700)
commit476f7adb787402d53a85066845c36508526ea490
tree5bebba09b13ab00edb15d75ffab973c7b8ade400
parent01aa28e78ca658a053fc0964c768e357d3afbbf0
synclink_gt: add rx DMA buffer fill level control

Add run time control for receive DMA buffer fill level to allow
application to control receive latency when using stream oriented serial
protocols that pass receive data to application only after a DMA buffer
fills.  This was previously a compile time option, but run time control is
needed when application changes data rate (and latency requirements) or
uses different data rates on different ports.

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