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)
commit814dae031d08d40d34c0403a54d6e659baf0ae71
tree5bebba09b13ab00edb15d75ffab973c7b8ade400
parent993456cdc853a52e1042ebf93fc6e1a12d1216f7
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