Re: [PARPORT] Programming challenge!


Tim Waugh (tim@cyberelk.demon.co.uk)
Mon, 19 Oct 1998 19:44:52 +0100 (BST)


On Mon, 19 Oct 1998, David Campbell wrote:

> Attached is a code fragment from the ppa driver modified to use parport calls
> rather than by direct IO. Direct IO limits the driver to PC style hardware,
> whereas parport calls allows for the driver to be generic for all hardware
> platforms. Your job is to adjust the C code such that the optimum assembler
> code is generated. Ideally this involves the minimum memory fetches to
> evaluate the parallel port address.

But how long does an outb take? I would have thought the four IO
instructions per loop would be the limiting factor.

Tim.
*/

-- 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 2.0b3 on Wed 30 Dec 1998 - 10:18:38 EST