aboutsummaryrefslogtreecommitdiff
path: root/drivers/char/viocons.c
diff options
context:
space:
mode:
authorPaul Fulghum <paulkf@microgate.com>2008-07-22 11:21:55 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-22 13:03:29 -0700
commit403214d0ad9b2b9e46c89a5b4b513c910c89068d (patch)
tree5d7725b1254f4106a8688497094cb1bd34b75921 /drivers/char/viocons.c
parente5590717afd5fb6f494323206a1a35ea25610c2d (diff)
synclink_gt: improve TIOCOUTQ accuracy
Improve the accuracy of TIOCOUTQ value as implemented in chars_in_buffer() method by walking and counting tx DMA buffers, reading controller tx FIFO level and accounting for controller tx shift register. The greatly improves application control of transmit latency at lower data rates. 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>
Diffstat (limited to 'drivers/char/viocons.c')
0 files changed, 0 insertions, 0 deletions