Re: [PARPORT] ECP FIFO residue

From: Tim Waugh (twaugh@redhat.com)
Date: Sat Jun 09 2001 - 05:05:08 EDT

  • Next message: Laurent Pinchart: "Re: [PARPORT] ECP FIFO residue"

    On Sat, Jun 09, 2001 at 10:40:03AM +0200, Laurent Pinchart wrote:

    > Why is so ? What happens when the peripheral fills the FIFO with data,
    > but the caller of parport_pc_ecp_read_block_pio wants less than what the
    > peripheral sent ? Shouldn't a memory buffer be filled with the residue,
    > and be read with the next call to parport_pc_ecp_read_block_pio ?

    Basically, any protocols where this can happen are broken, IMHO. I
    can't think off-hand why the comment is there though.

    But yes, really it shouldn't just get thrown away.

    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 Jun 09 2001 - 05:08:31 EDT