diff options
author | Paul Fulghum <[email protected]> | 2008-07-22 11:21:55 +0100 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2008-07-22 13:03:29 -0700 |
commit | 403214d0ad9b2b9e46c89a5b4b513c910c89068d (patch) | |
tree | 5d7725b1254f4106a8688497094cb1bd34b75921 /net/lapb/lapb_iface.c | |
parent | e5590717afd5fb6f494323206a1a35ea25610c2d (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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions