Messages in this thread | | | Date | Mon, 6 Oct 2003 14:50:02 +0200 (MET DST) | From | "Maciej W. Rozycki" <> | Subject | Re: FDC motor left on |
| |
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@ds2.pg.gda.pl, PGP key available +
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |