lkml.org 
[lkml]   [1998]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: CONFIG_PARIDE_PARPORT always set
Date
From
>Perhaps there is a better idiom for doing this, but I don't know what it
>is. It's not at all clear to me what the valid expression syntax is for
>the 'dependency' arguments to dep_tristate.

The way dep_tristate _ought_ to work is that you can give it a list of options
to depend on. If the list evaluates to all `y' then the depending option can
be a full tristate - y/m/n. If any of its members are `m' then it is forced
to only `m/n', and (perhaps) if any are `n' then it is forced to `n' as well.
This may not be quite what you need in this particular case, though.

I actually implemented this extension specifically to cope with parport,
because things like ppa depend on both it and SCSI.

p.



\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.038 / U:0.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site