aboutsummaryrefslogtreecommitdiff
path: root/hw/eepro100.c
diff options
context:
space:
mode:
author=?UTF-8?q?Reimar=20D=C3=B6ffinger?= <Reimar.Doeffinger@gmx.de>2009-10-02 18:39:41 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-06 14:36:08 -0500
commitdbbaaff6867af255d2cc84dbade4f9b58d823397 (patch)
treeac28085c78fcd6e021419e65068d4bb215d3ae43 /hw/eepro100.c
parent5a2d0e57ad5ce1cf6bf0334feb5adc38896bea80 (diff)
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>
Diffstat (limited to 'hw/eepro100.c')
-rw-r--r--hw/eepro100.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/eepro100.c b/hw/eepro100.c
index 2d81eb9d9e..445d46c85d 100644
--- a/hw/eepro100.c
+++ b/hw/eepro100.c
@@ -1211,6 +1211,7 @@ static uint16_t eepro100_read2(EEPRO100State * s, uint32_t addr)
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: