eepro100: support 16 bit read from SCBCmd (== 2) This is necessary to support OpenBSD 4.2 install, without this change it triggers an assert. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
diff --git a/hw/eepro100.c b/hw/eepro100.c index 2d81eb9..445d46c 100644 --- a/hw/eepro100.c +++ b/hw/eepro100.c
@@ -1211,6 +1211,7 @@ switch (addr) { case SCBStatus: //~ val = eepro100_read_status(s); + case SCBCmd: TRACE(OTHER, logout("addr=%s val=0x%04x\n", regname(addr), val)); break; case SCBeeprom: