NetBSD/sys/arch/evbarm/iq80310
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
..
com_obio.c * Add a new hwflag, COM_HW_NO_TXPRELOAD, which tells comstart() to 2002-04-12 19:32:30 +00:00
i80312_mainbus.c No point in setting the ATU Subsys vendor/dev ID on boards that 2002-02-08 02:31:12 +00:00
iq80310_7seg.c Some prototype cleanup. 2002-01-20 03:41:47 +00:00
iq80310_intr.c Processing pending interrupts before reenabling external interrupts in splx(). 2002-04-12 04:52:57 +00:00
iq80310_machdep.c Remove exception for CONSPEED on NPWR -- current redboot uses 115200, too. 2002-04-12 00:58:49 +00:00
iq80310_pci.c Wire the internal devices to the right interrupts on NPWR. 2002-02-08 03:28:24 +00:00
iq80310_start.S * Rewrite the 32-bit ARM pte.h based on the ARM architecture manual. 2002-04-05 16:58:01 +00:00
iq80310_timer.c inittodr(): Actually initialize time from the file system time. 2002-03-03 21:10:40 +00:00
iq80310reg.h Remove U from the display seg constants. 2001-12-01 02:02:46 +00:00
iq80310var.h Add support for the Team ASA Npwr IOP310-based server appliance. 2002-02-07 21:34:23 +00:00
obio_space.c Use the bus_space_generic bus space ops. 2002-04-12 19:02:30 +00:00
obio.c The Npwr doesn't have the board_rev/cpld_rev/backplane_det registers, 2002-02-08 02:30:12 +00:00
obiovar.h Rework and fleshing out of Intel IQ80310 XScale eval board support. 2001-11-07 00:33:22 +00:00