[4995] serial: Always update iir, even when ier is empty (Samuel Thibault)
Revision: 4995
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4995 Author: aliguori Date: 2008-08-12 13:22:50 +0000 (Tue, 12 Aug 2008)
Log Message:
-----------
serial: Always update iir, even when ier is empty (Samuel Thibault)
This fixes installation of Windows XP.
Signed-off-by Samuel Thibault <[email protected]>
Signed-off-by Anthony Liguori <[email protected]>
Modified Paths:
--------------
trunk/hw/serial.c
Modified: trunk/hw/serial.c
===================================================================
hw/serial.c +0 -5
@@ -189,11 +189,6 @@ {uint8_t tmp_iir =UART_IIR_NO_INT ; -if (!s->ier) { -qemu_irq_lower (s->irq); -return ; - } -if ((s->ier &UART_IER_RLSI ) && (s->lsr &UART_LSR_INT_ANY )) { tmp_iir =UART_IIR_RLSI ; }else if (s->timeout_ipending) {