From: Paul Fulghum Date: Tue, 22 Jul 2008 10:21:55 +0000 (+0100) Subject: synclink_gt: improve TIOCOUTQ accuracy X-Git-Tag: v2.6.27-rc1~872 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=403214d0ad9b2b9e46c89a5b4b513c910c89068d;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed