Re: [PARPORT] Paraller port in ECP mode (fwd)

From: Blaise Gassend (blaise@gassend.com)
Date: Mon Mar 31 2003 - 08:33:50 EST

  • Next message: Tim Josling: "Re: [PARPORT] [PATCH] to drivers/parport/ieee1284_ops.c to fix timing dependent printer hang"

    > > The kernel actually contains code to do DMA output to the parallel port,
    > > no need to rewrite that support yourself.
    >
    > Thx, but how can I write i.e. 100 bytes to port? outb function send one
    > byte, and now I must call 100 times outb function to send all data. In DMA
    > mode I can put buffer address to send...

    Don't use outb, use /dev/parport? or libieee1284 to do your parport IO.
    That way you will maximize your compatibility, and use DMA output if it
    is available.

    Blaise

    -- 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 : Mon Mar 31 2003 - 08:37:55 EST