Skip to contentSkip to conversation

eepro100: support 16 bit read from SCBCmd (== 2)

PATCH New =?UTF-8?q?Reimar=20D=C3=B6ffinger?= 1 participant 1 message Oct 2, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 eepro100: support 16 bit read from SCBCmd (== 2)

This is necessary to support OpenBSD 4.2 install, without this change it triggers an assert.

---
 hw/eepro100.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
hw/eepro100.c +1 -0
index c8c644b..30d7a95 100644
@@ -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:
Signature · 1 line
1.6.5.rc2