mirror of https://gitee.com/openkylin/qemu.git
hw/net/smc91c111: Use qemu_log_mask(UNIMP) instead of fprintf
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-id: 20180624040609.17572-15-f4bug@amsat.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
b9992d122d
commit
637e5d86fc
|
@ -362,10 +362,14 @@ static void smc91c111_writeb(void *opaque, hwaddr offset,
|
||||||
SET_HIGH(gpr, value);
|
SET_HIGH(gpr, value);
|
||||||
return;
|
return;
|
||||||
case 12: /* Control */
|
case 12: /* Control */
|
||||||
if (value & 1)
|
if (value & 1) {
|
||||||
fprintf(stderr, "smc91c111:EEPROM store not implemented\n");
|
qemu_log_mask(LOG_UNIMP,
|
||||||
if (value & 2)
|
"smc91c111: EEPROM store not implemented\n");
|
||||||
fprintf(stderr, "smc91c111:EEPROM reload not implemented\n");
|
}
|
||||||
|
if (value & 2) {
|
||||||
|
qemu_log_mask(LOG_UNIMP,
|
||||||
|
"smc91c111: EEPROM reload not implemented\n");
|
||||||
|
}
|
||||||
value &= ~3;
|
value &= ~3;
|
||||||
SET_LOW(ctr, value);
|
SET_LOW(ctr, value);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue