]> git.proxmox.com Git - mirror_qemu.git/commitdiff
eepro100: support 16 bit read from SCBCmd (== 2)
author=?UTF-8?q?Reimar=20D=C3=B6ffinger?= <Reimar.Doeffinger@gmx.de>
Fri, 2 Oct 2009 16:39:41 +0000 (18:39 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 6 Oct 2009 19:36:08 +0000 (14:36 -0500)
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>
hw/eepro100.c

index 2d81eb9d9e0ba8f7b522216a924a2187a50a552b..445d46c85d94eb1acc6a372ecf9aa95dbbb712fc 100644 (file)
@@ -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: