OSDN Git Service

hw/serial.c: fix THRE interrupt clearing
authorAurelien Jarno <aurelien@aurel32.net>
Sat, 6 Mar 2010 21:19:53 +0000 (22:19 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Sat, 6 Mar 2010 21:28:07 +0000 (22:28 +0100)
commitcdee7bdfee37b774c80f698d2d4338670db7c6cb
tree7dbc5f9e3e3257fefd7f8280bff6b5187cc1b022
parent2f4f22bd445e30c04b6c0d127f0a39a52eee1a14
hw/serial.c: fix THRE interrupt clearing

UART_IIR_THRI is not a mask, but a possible value for the IIR ID.
Use UART_IIR_ID to extract this value.

Broken by commit 71e605f80313a632cc6714cde7bd240042dbdd95.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/serial.c