[Linux-parport] using ppdev instead of direct hardware access

Tim Waugh twaugh at redhat.com
Mon Jan 12 16:44:31 GMT 2004

On Mon, Jan 12, 2004 at 04:06:50PM +0000, stef wrote:

>      I am far from understanding how to set to ECP FIFO or plain
> ECP with the available ppdev ioctls. The ones I think I need are
> marked obsoleted, and have no kernel code.
>       Also, I have still to figure from/to which addr read/write go.

The ppdev driver is higher-level than that.  If you tell it to use ECP
transfers, and use write(), then (if the kernel is so configured) it
will do the FIFO stuff for you -- it might even use DMA.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/linux-parport/attachments/20040112/5adc0b9b/attachment.bin

More information about the Linux-parport mailing list