uart(4) 16550A FIFO latency too long

From: UEMURA Tetsuya <t_uemura_at_macome.co.jp>
Date: Tue, 11 Mar 2008 09:41:47 +0900 (JST)
Hi there.

I have a timing sensitive sensor device connected to PC with serial
ports. In order to gather data from the device correctly, I have to set
the 16550A FIFO interrupt trigger level lower than the default
FCR_RX_MEDH to FCR_RX_MEDL or FCR_RX_LOW.

However, there's no tunable in uart(4) to set these levels manually,
so I've added some lines to uart(4) and now I've been able to set the
level via device.hints.

Please someone review the following PR.
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/121421 .

Thank in advance.

-- 
UEMURA Tetsuya <t_uemura_at_macome.co.jp>
Received on Mon Mar 10 2008 - 23:56:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:28 UTC