Re: menuconfig displays dependencies [Was: select FW_LOADER -> depends HOTPLUG]

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

  • Next message: Xavier Bestel: "Re: Linux SATA RAID FAQ"
    Date:	Sun, 15 Aug 2004 22:45:55 +0200
    To: Roman Zippel <zippel@linux-m68k.org>, Sam Ravnborg <sam@ravnborg.org>, linux-kernel@vger.kernel.org
    
    

    On Sun, Aug 15, 2004 at 10:32:45PM +0200, Sam Ravnborg wrote:
    > On Sun, Aug 15, 2004 at 10:21:11PM +0200, Adrian Bunk wrote:
    > > > CONFIG_FOO
    > > >
    > > > Depends on:
    > > > CONFIG_BAR: [ ] "Prompt for BAR"
    > >
    > >
    > > Assuming I'm configuring a kernel for i386, what should I see when
    > > pressing 'd' on the following driver?
    > >
    > >
    > > config OAKNET
    > > tristate "National DP83902AV (Oak ethernet) support"
    > > depends on NET_ETHERNET && PPC && BROKEN
    > > select CRC32
    > >
    > What about:
    > Depends on:
    > [ ] "Prompt for NET_ETHERNET" (CONFIG_NET_ETHERNET)
    > --- "Promt ..." (CONFIG_PPC)
    > --- " Prompt ... " (CONFIG_BROKEN)

    CONFIG_BROKEN is available.

    And in other cases, e.g. I2C_ALGOBIT might be a dependency, but depends
    itself on I2C which might be disabled.

    > Selects
    > "Prompt for CRC32)" (CONFIG_CRC32)
    >
    > That would make sense to me at least.

    Showing all !i386 drivers on i386 will make it harder for people to find
    the drivers they actually need.

    > If I ever look into it I will touch upon the corner cases for sure.

    Thanks.

    BTW:
    "make oldconfig" will need a similar treatment before we can start
    changing selects to depends.

    > Sam

    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: Xavier Bestel: "Re: Linux SATA RAID FAQ"

    Relevant Pages

    • Re: time for some drivers to be removed?
      ... modules and compiles as much as possible statically into the kernel. ... ISDN4Linux subsystem 36 drivers that compile due to cli/sti issues only ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [2.6 patch] sound drivers selecting ISAPNP must depend on PNP && ISA
      ... >> I like the idea of this patch, but it brings to more drivers to a ... OTOH, the build system ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [2.6 patch] COSA is no longer BROKEN
      ... following patch removes the dependency on BROKEN: ... # The COSA/SRP driver has not been tested as non-modular yet. ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: RFC: i386: kill !4KSTACKS
      ... >> drivers. ... >> the stack and the same time. ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] New include file for marking old style api files
      ... > I have an idea to mark old drivers, which should I or somebody rewrite. ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)