Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MtlAi-0006xo-G9 for qemu-devel@nongnu.org; Fri, 02 Oct 2009 12:39:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MtlAe-0006wJ-Ha for qemu-devel@nongnu.org; Fri, 02 Oct 2009 12:39:56 -0400 Received: from [199.232.76.173] (port=49818 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MtlAe-0006w9-9N for qemu-devel@nongnu.org; Fri, 02 Oct 2009 12:39:52 -0400 Received: from mail.gmx.net ([213.165.64.20]:54899) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MtlAd-0007Ay-KU for qemu-devel@nongnu.org; Fri, 02 Oct 2009 12:39:52 -0400 Date: Fri, 2 Oct 2009 18:39:41 +0200 From: =?iso-8859-1?B?PT9VVEYtOD9xP1JlaW1hcj0yMEQ9QzM9QjZmZmluZ2VyPz0=?= Message-ID: <20091002163941.GA15024@1und1.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH] eepro100: support 16 bit read from SCBCmd (== 2) List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This is necessary to support OpenBSD 4.2 install, without this change it triggers an assert. Signed-off-by: Reimar Döffinger --- 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