On Wed, May 03, 2000 at 03:28:39PM -0400, Nordic Boy wrote:
> As you may know, I am attempting to write a parport driver for an
> ATEN AS/2 switch. In order to accomplish some sort of multiplexing, I
> decided that it would be a good idea to use parport_yield. However, it
> doesn't seem to exist in the 2.2 kernels.
Look in include/linux/parport.h.
> However, if that were the case, why do I see it in lp.c? Is that a
> special case? I also notice that the other parport drivers tend to
> use parport_release. Would it be better to use that instead?
It depends really. parport_yield doesn't always do a release/claim
sequence, so it might be faster/more efficient -- but it depends how
your driver works really.
-- To unsubscribe, send mail to: firstname.lastname@example.org --
-- with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2b29 : Wed May 10 2000 - 13:36:18 EDT