DP264 floppy problem

Soohoon Lee (soohoon.lee@alpha-processor.com)
Tue, 28 Dec 1999 17:33:55 -0500


Hi

manybodies are saying that sometimes floppy is disapeared on DP264.
It's sometimes detected sometimes doesn't.
Certain board always failed to detect floppy drive.
So I've look at the problem but I couldn't find the reason
but I've found a work around for this problem.
If I put the controller's state to normal before floppy driver
reset the controller then it works fine.

SRM doesn't detect or initialize floppy controller until it's really used
and I think It makes the problem.

I'm not used to floppy so I need confirmation from experts.
Is this safe?
Here's the patch.

--- ../sw/linux/v2.2/linux/arch/alpha/kernel/smc37c669.c Tue Apr 20 19:19:50
1999
+++ arch/alpha/kernel/smc37c669.c Mon Dec 20 15:30:12 1999
@@ -2587,6 +2587,9 @@
FDC_DRQ
);
SMC37c669_enable_device( FLOPPY_0 );
+
+/* Unstable floppy problem */
+ outb(0xc, 0x3f2);

SMC37c669_disable_device( IDE_0 );