Re: [PARPORT] design question, Backpack floppy tapes


Philip Blundell (pb@nexus.co.uk)
Wed, 22 Jul 1998 11:08:27 +0100


>How import is it to use e.g. "parport_write_control()" instead of
>"outb(..., base + 2)"?

If you use `parport_write_control' then your code is more likely to be
portable to systems with different parallel ports. Otherwise there's little
difference. So long as you don't configure in support for foreign hardware,
the jump tables get optimised out and you end up with the same code being
generated in both cases.

p.

-- 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:02 EST