qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Floppy: Properly handle Sense Interrupt Status


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH] Floppy: Properly handle Sense Interrupt Status after FDC Reset
Date: Tue, 6 Jan 2009 17:35:32 +0200

On 1/6/09, Justin Chevrier <address@hidden> wrote:
> Attached is a patch that changes how the emulated floppy controller replies 
> to Sense Interrupt Status commands immediately after a controller reset. The 
> specs state that after a Reset the 82078 goes into polling mode which needs 
> four Sense Interrupt Status commands to be issued afterwards to clear the 
> status of each drive. Currently we always respond to Sense Interrupt Status 
> with a SEEK END instead of POLLING. This causes a problem with the SCO 
> Openserver installer which is expects a POLLING state after reset. This patch 
> returns a POLLING status for four Sense Interrupt Status requests immediately 
> after a controller reset. This approach mirrors the way Bochs handles this 
> situation. With the attached patch applied Openserver gets further when 
> trying to load storage drivers from the floppy disk (blocked by another 
> issue, patch on its way). I have successfully tested the floppy drive on the 
> following OSs after applying this patch: Windows 98, Windows XP
>   SP2, Linux x86 (SysRescCD 1.1.3 and Ubuntu 8.10).
>
>  Justin
>
>  Changelog:
>
>  Properly handle Sense Interrupt Status after FDC Reset
>
>  Signed-off-by: Justin Chevrier <address@hidden>

OK for Sparc.




reply via email to

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