NetBSD/sys/arch/evbarm
thorpej ff7306cf44 * Add a new hwflag, COM_HW_NO_TXPRELOAD, which tells comstart() to
not pre-load the chip's Tx buffer, but instead waits for the Tx Ready
  interrupt to transmit the first chunk of data.
* On the IOP310, set COM_HW_NO_TXPRELOAD, rather than COM_HW_TXFIFO_DISABLE.

This solves the "UART hangs" problem on the Npwr in a nicer way (i.e. we
get to use the FIFO, whee).  The COM_HW_NO_TXPRELOAD happens to match the
Linux 16550 driver's Tx algorithm, and the "UART hang" was never observed
on the Npwr running Linux.

Eventually, we might want to eliminate the COM_HW_NO_TXPRELOAD, and simply
always use its algorithm.  But it should be tested on more 16x50 variants
before we do that.

Kudos to Valeriy Ushakov <uwe@netbsd.org> for pointing out this solution
(which also happens to fix the stray UART interrupt issue on the Krups
Javastation), and to Allen Briggs <briggs@netbsd.org> for experimenting
with various methods of fixing this.
2002-04-12 19:32:30 +00:00
..
compile
conf Use the bus_space_generic bus space ops. 2002-04-12 19:12:31 +00:00
dev Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for 2002-03-17 19:40:26 +00:00
evbarm New interrupt framework for NetBSD/evbarm, and accompanying new 2002-01-30 03:59:39 +00:00
ifpga Use the bus_space_generic bus space ops. 2002-04-12 19:12:31 +00:00
include * Change all uses of KERNEL_SPACE_START to KERNEL_BASE. 2002-03-23 02:53:59 +00:00
integrator Remove footbridge-specific stuff that will never apply on the Integrator. 2002-04-12 06:13:42 +00:00
iq80310 * Add a new hwflag, COM_HW_NO_TXPRELOAD, which tells comstart() to 2002-04-12 19:32:30 +00:00
iq80321 Use the bus_space_generic bus space ops. 2002-04-12 19:02:30 +00:00
stand Lose -nbsd 2002-04-11 21:47:36 +00:00
Makefile