qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Floppy: Remove Sense Interrupt Hack


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH] Floppy: Remove Sense Interrupt Hack
Date: Tue, 23 Dec 2008 20:30:53 +0200

On 12/23/08, Justin Chevrier <address@hidden> 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!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]