Re: [2.6 patch] let W1 select NET

From: Evgeniy Polyakov
Date: Fri Aug 13 2004 - 06:07:14 EST


On Fri, 2004-08-13 at 14:54, Roman Zippel wrote:
> Hi,
>
> On Fri, 13 Aug 2004, Evgeniy Polyakov wrote:
>
> > On Fri, 2004-08-13 at 14:32, Roman Zippel wrote:
> > > Hi,
> > >
> > > On Fri, 13 Aug 2004, Adrian Bunk wrote:
> > >
> > > > config W1
> > > > tristate "Dallas's 1-wire support"
> > > > + select NET
> > >
> > > What's wrong with a simple dependency?
> >
> > W1 requires NET, and thus depends on it.
> > If you _do_ want W1 then you _do_ need network and then NET must be
> > selected.
>
> A simple "depends on NET" does this as well, I see no reason to abuse
> select.

I think it does it in reverse order:
if we have NET then we _may_ select W1, but if we _need_ W1 and do not
know upon what it depends?

> bye, Roman
--
Evgeniy Polyakov ( s0mbre )

Crash is better than data corruption. -- Art Grabowski

Attachment: signature.asc
Description: This is a digitally signed message part