lkml.org 
[lkml]   [2008]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: Kconfig 'depend' vs. 'select'
From
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.



\
 
 \ /
  Last update: 2008-04-28 08:45    [W:0.943 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site