From dbbaaff6867af255d2cc84dbade4f9b58d823397 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=3D=3FUTF-8=3Fq=3FReimar=3D20D=3DC3=3DB6ffinger=3F=3D?= Date: Fri, 2 Oct 2009 18:39:41 +0200 Subject: [PATCH] eepro100: support 16 bit read from SCBCmd (== 2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is necessary to support OpenBSD 4.2 install, without this change it triggers an assert. Signed-off-by: Reimar Döffinger Signed-off-by: Anthony Liguori --- hw/eepro100.c | 1 + 1 file changed, 1 insertion(+) 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: