linux-mips-fnet
[Top] [All Lists]

Re: Floppy driver bug.

To: linux-mips@fnet.fr
Subject: Re: Floppy driver bug.
From: zaitcev@ithil.mcst.ru
Date: Thu, 30 Nov 1995 16:17:33 +0300
> Just look into drivers/block/floppy.c, into function set_fdc().  This
> functions calls set_dor() twice.  Once for controller fdc and once
> for controller 1-fdc.  The later call results in erroneous memory
> accesses when N_FDC (in <asm/floppy.h>) has been defined to 1, not two.
> Just put #if N_FDC > 1 ... #endif around the second call and everything
> is ok.

I found this bug on SPARC, so the fix should be in the mainstream 1.3.45
kernel by Linus already.

Pete

<Prev in Thread] Current Thread [Next in Thread>