summaryrefslogtreecommitdiff
path: root/emulators/qemu/files/patch-hw-serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/qemu/files/patch-hw-serial.c')
-rw-r--r--emulators/qemu/files/patch-hw-serial.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/emulators/qemu/files/patch-hw-serial.c b/emulators/qemu/files/patch-hw-serial.c
deleted file mode 100644
index a195b85360de..000000000000
--- a/emulators/qemu/files/patch-hw-serial.c
+++ /dev/null
@@ -1,18 +0,0 @@
-Index: qemu/hw/serial.c
-@@ -196,12 +195,10 @@ static void serial_update_irq(SerialStat
- * this is not in the specification but is observed on existing
- * hardware. */
- tmp_iir = UART_IIR_CTI;
-- } else if ((s->ier & UART_IER_RDI) && (s->lsr & UART_LSR_DR)) {
-- if (!(s->fcr & UART_FCR_FE)) {
-- tmp_iir = UART_IIR_RDI;
-- } else if (s->recv_fifo.count >= s->recv_fifo.itl) {
-- tmp_iir = UART_IIR_RDI;
-- }
-+ } else if ((s->ier & UART_IER_RDI) && (s->lsr & UART_LSR_DR) &&
-+ (!(s->fcr & UART_FCR_FE) ||
-+ s->recv_fifo.count >= s->recv_fifo.itl)) {
-+ tmp_iir = UART_IIR_RDI;
- } else if ((s->ier & UART_IER_THRI) && s->thr_ipending) {
- tmp_iir = UART_IIR_THRI;
- } else if ((s->ier & UART_IER_MSI) && (s->msr & UART_MSR_ANY_DELTA)) {