lkml.org 
[lkml]   [2003]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 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/

    \
     
     \ /
      Last update: 2005-03-22 13:49    [W:0.022 / U:93.572 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site