On Wed, Apr 26, 2000 at 07:16:12PM +0800, zhu qun ying wrote:
> /* Event 38: Set nAutoFd low */
> parport_frob_control (port,
> PARPORT_CONTROL_AUTOFD,
> PARPORT_CONTROL_AUTOFD);
> [...]
> I am totally confused by the usage.
Some of the bits are inverted, which is why the difference. However,
I can never remember which ones, so there might be some mistakes.
Perhaps a better way to have done it in the first place would have
been to make the lowlevel driver take care of that..
> For the low level frob_control function, the control bits are governed by
> (old_control & ~mask) ^ value,
> That should be what you say about the how frob_control() works.
It is.
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 2b29 : Wed Apr 26 2000 - 07:50:50 EDT