16550A UART: RHR irq enable bit also masks the Rx timeout irq.
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 17 Sep 2008 00:21:05 +0000 (00:21 +0000)
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 17 Sep 2008 00:21:05 +0000 (00:21 +0000)
commit5628a6260ae8854d669d41aabb8c29a7a5b4bff9
tree4848327ee470655a25f88e26195fbf0f9d317e07
parent1ef4ef4e640cae84d9706a1fbb8f3916a4bc08ab
16550A UART: RHR irq enable bit also masks the Rx timeout irq.

The "Rx timeout" (aka. Character Timeout Indication) has no separate mask
bit in the IER register and according to the specs reading RHR is the only
way to reset the irq.  However on the hardware (tested on OMAP2 UART which
is an extended 16550A) the RHR_IT bit in IER disables the irc, too.  Linux
bluetooth serial dongle driver for N800 depends on this behavior.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5239 c046a42c-6fe2-441c-8c8c-71466251a162
hw/serial.c