Re: [PARPORT] PARPORT_CONTROL_[ITEN|DIRECTION] ?

From: Tim Waugh (twaugh@redhat.com)
Date: Fri Mar 01 2002 - 16:42:55 EST

  • Next message: Nicholas Hildreth: "[PARPORT] Parallel port patches (and woes)"

    On Fri, Mar 01, 2002 at 01:04:27PM -0500, John Cotton wrote:

    > I have the following simple compilation problem with missing #defines.
    > Searching on the web found some kernel patches, but nothing that
    > explained why these #defines went away or what their
    > replacement/equivalent is now. Can anyone give a new parallel port user
    > an explanation of the development history and suggest a fix?

    They went away because they are PC-specific.

    > ../../ximprov-4.0/v4l/eyecam.c:126: `PARPORT_CONTROL_INTEN' undeclared
    > (first use in this function)
    > ../../ximprov-4.0/v4l/eyecam.c:126: (Each undeclared identifier is
    > reported only once

    IntEn is for enabling interrupts. Rather than trying to tweak a
    control line, use 'parport_enable_irq()'.

    > ../../ximprov-4.0/v4l/eyecam.c:621: `PARPORT_CONTROL_DIRECTION'
    > undeclared (first use in this function)
    > ../../ximprov-4.0/v4l/eyecam.c: In function `set_output_mode':
    > ../../ximprov-4.0/v4l/eyecam.c:628: `PARPORT_CONTROL_DIRECTION'
    > undeclared (first use in this function)

    This is for controlling the data line drivers. Use
    'parport_data_forward()' to turn them on, and 'parport_data_reverse()'
    to turn them off.

    Tim.
    */



    -- 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 : Fri Mar 01 2002 - 16:47:21 EST