On Friday 15 June 2007 18:03, Marcel Moolenaar wrote:

> The loop is formed by the transmit interrupt of the UART.
> When UART_TRANSMIT() is called, the FIFO of the UART is
> written and transmission starts. Eventually the UART will
> raise a "transmission done" interrupt, which will trigger
> the next iteration.


I see. However:

> 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.

Regards,
Christian Kandeler
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/lis...reebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"