* [Qemu-devel] [PATCH] eepro100: support 16 bit read from SCBCmd (== 2)
@ 2009-10-02 16:39 =?UTF-8?q?Reimar=20D=C3=B6ffinger?=
0 siblings, 0 replies; only message in thread
From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= @ 2009-10-02 16:39 UTC (permalink / raw)
To: qemu-devel
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>
---
hw/eepro100.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/eepro100.c b/hw/eepro100.c
index c8c644b..30d7a95 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:
--
1.6.5.rc2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-10-02 16:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-02 16:39 [Qemu-devel] [PATCH] eepro100: support 16 bit read from SCBCmd (== 2) =?UTF-8?q?Reimar=20D=C3=B6ffinger?=
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).