[PARPORT] Typo in recent 2.4.12 ieee1284_ops.c

From: Heiner Kordewiner (hnr@gmx.de)
Date: Thu Oct 11 2001 - 16:19:25 EDT

  • Next message: Norbert Preining: "Re: [PARPORT] Problems with parallel port io card, emu10k1, system freeze"

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Hi,

    I think there was today a typo introduced in the recent 2.4.12 kernel in
    drivers/parport/ieee1284_ops.c . IMHO there should be a IEEE1284 phase,
    introduced in parport.h .

    Bye

    Heiner

    diff -u --recursive v2.4.12/linux/drivers/parport/ieee1284_ops.c v2.4.12hnr/linux/drivers/parport/ieee1284_ops.c
    - --- v2.4.12/linux/drivers/parport/ieee1284_ops.c Thu Oct 11 19:38:29 2001
    +++ v2.4.12hnr/linux/drivers/parport/ieee1284_ops.c Thu Oct 11 21:09:52 2001
    @@ -362,7 +362,7 @@
             } else {
                     DPRINTK (KERN_DEBUG "%s: ECP direction: failed to reverse\n",
                              port->name);
    - - port->ieee1284.phase = IEEE1284_PH_DIR_UNKNOWN;
    + port->ieee1284.phase = IEEE1284_PH_ECP_DIR_UNKNOWN;
             }

             return retval;
    @@ -394,7 +394,7 @@
                     DPRINTK (KERN_DEBUG
                              "%s: ECP direction: failed to switch forward\n",
                              port->name);
    - - port->ieee1284.phase = IEEE1284_PH_DIR_UNKNOWN;
    + port->ieee1284.phase = IEEE1284_PH_ECP_DIR_UNKNOWN;
             }

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.0.6 (GNU/Linux)
    Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/

    iD8DBQE7xf7ZJDfvKDeONZgRAhNuAKCdssBqGYaBYYiW/9b455VcusALeACgtVRt
    fxfZq52oCGohYx1xou7inBk=
    =tpVF
    -----END PGP SIGNATURE-----

    -- To unsubscribe, send mail to: linux-parport-request@torque.net --
    -- with the single word "unsubscribe" in the body of the message. --



    This archive was generated by hypermail 2b29 : Thu Oct 11 2001 - 17:05:33 EDT