Messages in this thread | | | Date | Sun, 27 Apr 2008 23:42:21 -0700 (PDT) | Subject | Re: Kconfig 'depend' vs. 'select' | From | David Miller <> |
| |
From: Adrian Bunk <bunk@kernel.org> Date: Mon, 28 Apr 2008 09:39:54 +0300
> On Sun, Apr 27, 2008 at 05:45:36PM -0700, David Miller wrote: > > > > I'm trying to stir up interest in solving a problem that seems to pop > > up frequently. :) > > > > The short story is: > > > > 1) If you say your driver "depend"s on a subsystem providing a set of > > interfaces you need, this doesn't work properly if your driver is > > marked built-in and that subsystem you need is modular for some > > reason. > >... > > This should work.
It doesn't.
> Can you give an example of the problem you are thinking of?
We've hit this specifically with the intel iwlwifi wireless drivers over the past week.
> What about "select"? > > That's exactly what it's doing.
Select doesn't enable downstream dependencies, it just blindly turns it on, non-modular. That's not what we want at all.
| |