看板 FB_hackers 關於我們 聯絡資訊
On Jun 17, 2007, at 11:59 PM, Christian Kandeler wrote: >> If the UART has no FIFO (in the 16550-sense), then sc_txfifosz >> is still 1. > > But where is this set? The ns8250_bus_probe() function returns > early when it > detects a FIFO-less device, leaving sc_txfifosz at its pre- > initialized value > (i.e. zero). And it doesn't seem to get set anywhere else, either. Uhm, on line 817 in uart_dev_ns8250.c, which falls in function uart_bus_probe(), both the rx and tx fifo sizes are set to 1. This is for the case there's no fifo. FYI, -- Marcel Moolenaar xcllnt@mac.com _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"