Re: [PARPORT] Non-interrupting PIO for PPF and ECP modes

From: Tim Waugh (twaugh@redhat.com)
Date: Sat Nov 24 2001 - 20:37:46 EST

  • Next message: Joerg Schilling: "Re: [PARPORT] HP 7200 CD-Writer - almost there (?)"
  • Next message: Joerg Schilling: "Re: [PARPORT] Any explanation for this error?"

    On Sat, Nov 24, 2001 at 07:48:47PM -0500, Tom Perkins wrote:

    > Per Tim's suggestion I've been working on code to provide PPF and ECP
    > PIO support with no reliance on interrupts.

    Great!

    > 1.) The setting of the phase to FWD_DATA and FWD_DATA_IDLE would seem
    > incorrect?

    Not sure. Hardly anything needs to look at the phase; take a look to
    see if any code cares what it is (I don't recall).

    > 2.) Changing the mode to ECR_TST looks illegal -- Violates the rule that
    > ECR_PS2 must be visited first? This code is the same for the
    > ecp_write_block code. In the MS version of 1284 spec I thought a
    > control single STROBE was used to stop transfer? Is this correct and
    > what should be used for compat_write_block?

    It is a violation, and it's wrong. You are right that it should be
    changed to a STROBE. Patch welcome.

    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 : Sat Nov 24 2001 - 20:41:50 EST