Re: [PARPORT] Re: lpr problems in 2.0->2.1?

Philip Blundell (
Mon, 09 Feb 1998 10:23:49 +0000

In message <>, Alan Cox writes:
>a) Do more in it. One flaw with parport is it lacks things like
>block operations.

There are hooks for some block ops there (though most of them aren't
implemented yet). If anybody wants to add more they should feel free.

> func=parport_query_handler(PARPORT_FUNC_DRIVE_PPA):
> if(func==NULL) /* this combination has no fast ppa driver for zips */
> {
> slow_way
> }
> else
> func(whatever)

PPA is esoteric enough that it probably doesn't belong in the parport code.
But there's nothing to stop PPA doing stuff like this:

        if (parport_type == one we understand)
                /* fast way using direct port access and assembler if need
                   be */
                /* slow way using parport abstraction layer */


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

This archive was generated by hypermail 2.0b3 on Wed 30 Dec 1998 - 10:17:27 EST