Re: [PARPORT] Bug in parport_pc.c

From: Tim Waugh (
Date: Tue Nov 21 2000 - 11:42:50 EST

  • Next message: Eythan Weg: "Re: [PARPORT] printing with 2.2.18pre21 kernel"

    On Tue, Nov 21, 2000 at 05:13:00PM +0100, Roland Kuck wrote:

    > writting a printer driver I discoverd a bug in the parport_pc
    > code. When using the FIFO to write data in ECP mode to the printer
    > after data was read it an error occurs. No error occured when not
    > using the FIFO (i.e. the software implementation of the ECP protocol
    > in ieee1284_ops.c). I used kernel 2.4.0-test10 and 2.4.0-test11 and
    > my driver used the user level api.

    Thanks for spotting this. I've applied your fix to my tree, and will
    push it to Linus soon.

    > The read-routine seems to have the same bug, but as it isn't used at
    > the momement anyways ...

    Not sure. It agrees with the ieee1284_ops version at least.


    -- To unsubscribe, send mail to: --
    -- with the single word "unsubscribe" in the body of the message. --

    This archive was generated by hypermail 2b29 : Tue Nov 21 2000 - 11:44:18 EST