[PATCH] OCL/Comedi reconfigurable DIO

I was planning to add this patch such that the ComediSubDevice[DIn|DOut]
classes can be told which bits to reconfigure as input or output and not let
them claim (ie reconfigure) the whole subdevice.

The default/old behaviour remains the same.

Any remarks ?

Peter

[PATCH] OCL/Comedi reconfigurable DIO

On Thu, 8 May 2008, Peter Soetens wrote:
> I was planning to add this patch such that the ComediSubDevice[DIn|DOut]
> classes can be told which bits to reconfigure as input or output and not let
> them claim (ie reconfigure) the whole subdevice.
>
> The default/old behaviour remains the same.
>
> Any remarks ?

Seems ok. It seems like some nitpicker could argue your patch is not
API compatible since it moves the init function to "protected:". But
then again, the sun is shining bright today, so go ahead, commit
this one and let the (l)users who explicitly called init() rework
their applications ;-]