mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 03:59:52 +00:00
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);
|
||||
return;
|
||||
case 12: /* Control */
|
||||
if (value & 1)
|
||||
fprintf(stderr, "smc91c111:EEPROM store not implemented\n");
|
||||
if (value & 2)
|
||||
fprintf(stderr, "smc91c111:EEPROM reload not implemented\n");
|
||||
if (value & 1) {
|
||||
qemu_log_mask(LOG_UNIMP,
|
||||
"smc91c111: EEPROM store not implemented\n");
|
||||
}
|
||||
if (value & 2) {
|
||||
qemu_log_mask(LOG_UNIMP,
|
||||
"smc91c111: EEPROM reload not implemented\n");
|
||||
}
|
||||
value &= ~3;
|
||||
SET_LOW(ctr, value);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user