From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LFF5E-0005fQ-QV for qemu-devel@nongnu.org; Tue, 23 Dec 2008 16:46:32 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LFF5D-0005dR-Ul for qemu-devel@nongnu.org; Tue, 23 Dec 2008 16:46:32 -0500 Received: from [199.232.76.173] (port=40110 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LFF5D-0005d9-JS for qemu-devel@nongnu.org; Tue, 23 Dec 2008 16:46:31 -0500 Received: from mail.gmx.net ([213.165.64.20]:36134) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LFF5C-00030b-VB for qemu-devel@nongnu.org; Tue, 23 Dec 2008 16:46:31 -0500 Message-ID: <49515C33.5070501@gmx.net> Date: Tue, 23 Dec 2008 22:46:27 +0100 From: Carl-Daniel Hailfinger MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Floppy: Remove Sense Interrupt Hack References: <937963.51173.qm@web51111.mail.re2.yahoo.com> <49513F5C.1010605@gmx.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 23.12.2008 20:58, Blue Swirl wrote: > On 12/23/08, Carl-Daniel Hailfinger wrote: > >> On 23.12.2008 19:30, Blue Swirl wrote: >> > 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 >> > >> >> >> Can you send a patch for this issue to upstream OpenBIOS? >> > > I've already applied it (r321). > Great, thanks! Regards, Carl-Daniel