qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [COMMIT dbbaaff] eepro100: support 16 bit read from SCBCm


From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT dbbaaff] eepro100: support 16 bit read from SCBCmd (== 2)
Date: Tue, 06 Oct 2009 20:05:25 -0000

From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= <address@hidden>

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

Signed-off-by: Reimar Döffinger <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>

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 @@ 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:




reply via email to

[Prev in Thread] Current Thread [Next in Thread]