X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Fserial.c;h=71222517d9ae534b1c8a3366b3925adc4a4a9dc9;hb=dea7fd2306231d09471958e2b00499d701723e17;hp=0035a7fbc6ce4cea7b7acf0f33d3a7e2c526d030;hpb=6d6988cc9c8bac21d96afd800076afe0915cf2cd;p=palacios.releases.git diff --git a/palacios/src/devices/serial.c b/palacios/src/devices/serial.c index 0035a7f..7122251 100644 --- a/palacios/src/devices/serial.c +++ b/palacios/src/devices/serial.c @@ -700,12 +700,12 @@ static int read_ctrl_port(struct guest_info * core, uint16_t port, void * dst, break; } - case COM1_FIFO_CTRL_PORT: - case COM2_FIFO_CTRL_PORT: - case COM3_FIFO_CTRL_PORT: - case COM4_FIFO_CTRL_PORT: - PrintDebug("UART:read from FCR"); - *val = com_port->fcr.val; + case COM1_IIR_PORT: + case COM2_IIR_PORT: + case COM3_IIR_PORT: + case COM4_IIR_PORT: + PrintDebug("UART:read from IIR"); + *val = com_port->iir.val; break; case COM1_LINE_CTRL_PORT: