Re: [2.6 patch] let W1 select NET

From: Adrian Bunk (bunk_at_fs.tum.de)
Date: 08/13/04

  • Next message: Evgeniy Polyakov: "Re: [2.6 patch] let W1 select NET"
    Date:	Fri, 13 Aug 2004 13:01:37 +0200
    To: Roman Zippel <zippel@linux-m68k.org>
    
    

    On Fri, Aug 13, 2004 at 12:54:25PM +0200, 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.

    In the case of NET the discussion is mostly hypothetically since nearly
    everyone has enabled NET.

    But the similar case of USB_STORAGE selecting SCSI is an example where
    select is a big user-visible improvement over depends.

    > bye, Roman

    cu
    Adrian

    -- 
           "Is there not promise of rain?" Ling Tan asked suddenly out
            of the darkness. There had been need of rain for many days.
           "Only a promise," Lao Er said.
                                           Pearl S. Buck - Dragon Seed
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Evgeniy Polyakov: "Re: [2.6 patch] let W1 select NET"

    Relevant Pages

    • Re: support of older compilers
      ... > has a mouse problem that my vanilla 2.6.8.1 does not have: ... > it starts selecting text as soon as I touch it for the first ... We have another bug that was just root-caused to USB initialization ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: CONFIG_I8042
      ... > How can we turn this option off on non-x86 and without selecting ... It seems that as the configuration files stand, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [2.6.11-rc4-mm1 patch] fix buggy IEEE80211_CRYPT_* selects
      ... >> This would result in a recursive dependency. ... CRYPTO_AES depends on CRYPTO, which depends on nothing. ... selecting it. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: OOPS: 2.6.9 (not reproducable)
      ... actually I heard of this problem and I don't know why the selecting of ... the alternate setting on the second interface fails. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: some kernel config menu suggested tweaks
      ... selecting and deselecting what I wanted. ... > I'll be sending a patch to fix up this horrid thing shortly. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)