how do we indicate
to LiS that a driver supports clone opens only? is there a way to do this in the
init_module routine (e.g., when invoking the lis_register_strdev routine)?
open routine of my
driver conducts a check as follows:
xyzopen(queue_t *q, devq_t *devq, int flag, int sflag, cred_t *credp)
{
...
if (sflag != CLONEOPEN) {
return(ENXIO);
}
...
}
and this check is
currently failing. when i check on the values of flag & sflag, i get
flag=0x802 and sflag=0x0.
thanks in advance
-- GA
