Re: FDC motor left on

From: Maciej W. Rozycki
Date: Mon Oct 06 2003 - 07:51:24 EST


On Mon, 6 Oct 2003, Richard B. Johnson wrote:

> I suggest that the FDC control byte be read, then the result be
> ANDed with ~0x10, then written back. The ifed-out code clears
> the whole control word which is inappropriate at a time the
> diskette channel may be still be active.

Which will work for a physical drive 0x0 only -- it won't work for a
BIOS-emulated drive swapping. Supposedly the most reliable way should be
ANDing with ~0xf0, or better yet, using a BIOS call, preferably by fixing
the boot loader used.

--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@xxxxxxxxxxxxx, PGP key available +

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/