mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-01-05 22:17:40 -07: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
1 changed files with 8 additions and 4 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue