diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2010-03-06 20:23:09 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-03-06 20:23:09 +0100 |
commit | 2f4f22bd445e30c04b6c0d127f0a39a52eee1a14 (patch) | |
tree | 71c9e94097abd4d8f3416d19c552db927bf4b3c7 /hw/serial.c | |
parent | linux-user: Save/restore fpu registers to signal context on sh4 (diff) | |
download | qemu-kvm-2f4f22bd445e30c04b6c0d127f0a39a52eee1a14.tar.gz qemu-kvm-2f4f22bd445e30c04b6c0d127f0a39a52eee1a14.tar.bz2 qemu-kvm-2f4f22bd445e30c04b6c0d127f0a39a52eee1a14.zip |
hw/serial.c: fix indentation
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/serial.c')
-rw-r--r-- | hw/serial.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/hw/serial.c b/hw/serial.c index df67383d0..586c3662b 100644 --- a/hw/serial.c +++ b/hw/serial.c @@ -371,15 +371,15 @@ static void serial_ioport_write(void *opaque, uint32_t addr, uint32_t val) } else { s->thr = (uint8_t) val; if(s->fcr & UART_FCR_FE) { - fifo_put(s, XMIT_FIFO, s->thr); - s->thr_ipending = 0; - s->lsr &= ~UART_LSR_TEMT; - s->lsr &= ~UART_LSR_THRE; - serial_update_irq(s); + fifo_put(s, XMIT_FIFO, s->thr); + s->thr_ipending = 0; + s->lsr &= ~UART_LSR_TEMT; + s->lsr &= ~UART_LSR_THRE; + serial_update_irq(s); } else { - s->thr_ipending = 0; - s->lsr &= ~UART_LSR_THRE; - serial_update_irq(s); + s->thr_ipending = 0; + s->lsr &= ~UART_LSR_THRE; + serial_update_irq(s); } serial_xmit(s); } |