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 */
}
else
{
/* slow way using parport abstraction layer */
}
p.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu