Messages in this thread | | | Subject | Re: CONFIG_PARIDE_PARPORT always set | Date | Thu, 22 Jan 1998 15:47:04 +0000 | From | Philip Blundell <> |
| |
>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.
| |