Re: insl/outsl in parport_pc and !CONFIG_PCI

Jamie Lokier (lk@tantalophile.demon.co.uk)
Tue, 29 May 2001 02:11:56 +0200


Richard Zidlicky wrote:
> How is that supposed to work on systems without PCI? For now I have
> defined
>
> #define insl(port,buf,len) isa_insb(port,buf,(len)<<2)
> #define outsl(port,buf,len) isa_outsb(port,buf,(len)<<2)

Tim, Fred,

Will 4 * inb() cycles have the same effect as 1 * inl() cycle for an EPP
mode read?

By the way, it's probably worth a check whether insl() is actually
faster than a loop doing inl() these days. Guess I should do that :)

cheers,
-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/