From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LFC1x-0002Y6-1z for qemu-devel@nongnu.org; Tue, 23 Dec 2008 13:30:57 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LFC1v-0002Xq-Vg for qemu-devel@nongnu.org; Tue, 23 Dec 2008 13:30:56 -0500 Received: from [199.232.76.173] (port=59707 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LFC1v-0002Xn-SJ for qemu-devel@nongnu.org; Tue, 23 Dec 2008 13:30:55 -0500 Received: from fk-out-0910.google.com ([209.85.128.186]:3201) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LFC1v-0000au-HF for qemu-devel@nongnu.org; Tue, 23 Dec 2008 13:30:55 -0500 Received: by fk-out-0910.google.com with SMTP id 18so1370750fks.2 for ; Tue, 23 Dec 2008 10:30:53 -0800 (PST) Message-ID: Date: Tue, 23 Dec 2008 20:30:53 +0200 From: "Blue Swirl" Subject: Re: [Qemu-devel] [PATCH] Floppy: Remove Sense Interrupt Hack In-Reply-To: <937963.51173.qm@web51111.mail.re2.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <937963.51173.qm@web51111.mail.re2.yahoo.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: theburner1@yahoo.com Cc: qemu-devel@nongnu.org On 12/23/08, Justin Chevrier wrote: > It also appears that the code referenced in the link loops infinitely due to a missing: "max_sensei--;" which is present in the Linux Kernel's equivalent code. This one: http://fxr.watson.org/fxr/source/drivers/block/floppy.c?v=linux-2.4.22;im=bigexcerpts#L1800 Adding max_sensei-- to OpenBIOS allows it to survive your previous patch, which caused an infinite loop earlier: floppy_motor_off SENSEI c0 00 SENSEI c0 00 SENSEI c0 00 SENSEI c0 00 status = 80, reply_buffer= c0 0 Thanks!