Re: [PATCH][TRIVIAL] dep_tristate wants 3 arguments (fwd)

From: Adrian Bunk (bunk_at_fs.tum.de)
Date: 12/12/03

  • Next message: Jean-Marc Valin: "Re: Increasing HZ (patch for HZ > 1000)"
    Date:	Fri, 12 Dec 2003 23:53:43 +0100
    To: Jeff Garzik <jgarzik@pobox.com>
    
    

    On Fri, Dec 12, 2003 at 05:34:19PM -0500, Jeff Garzik wrote:
    >...
    > >--- linux-5110/drivers/net/tokenring/Config.in
    > >+++ linux-10010/drivers/net/tokenring/Config.in
    > >@@ -21,10 +21,10 @@ if [ "$CONFIG_TR" != "n" ]; then
    > > dep_tristate ' 3Com 3C359 Token Link Velocity XL adapter support'
    > > CONFIG_3C359 $CONFIG_TR $CONFIG_PCI
    > > tristate ' Generic TMS380 Token Ring ISA/PCI adapter support'
    > > CONFIG_TMS380TR
    > > if [ "$CONFIG_TMS380TR" != "n" ]; then
    > >- dep_tristate ' Generic TMS380 PCI support' CONFIG_TMSPCI
    > >$CONFIG_PCI
    > >- dep_tristate ' Generic TMS380 ISA support' CONFIG_TMSISA
    > >$CONFIG_ISA
    > >- dep_tristate ' Madge Smart 16/4 PCI Mk2 support' CONFIG_ABYSS
    > >$CONFIG_PCI
    > >- dep_tristate ' Madge Smart 16/4 Ringnode MicroChannel'
    > >CONFIG_MADGEMC $CONFIG_MCA
    > >+ dep_tristate ' Generic TMS380 PCI support' CONFIG_TMSPCI
    > >$CONFIG_PCI $CONFIG_TMS380TR
    >...
    > dep_tristate statements with only three arguments (include desc. text)
    > are just fine. There is no need for additional arguments.
    >
    > dep_tristate 'blah blah' CONFIG_BLAH dep...
    >
    > Further, adding CONFIG_TMS380TR dependency is complete nonsense,
    > considering that the "if [ "$CONFIG_TMS380TR" != "n" ]" check remains.

    Consider:
      CONFIG_TMS380TR=m

    E.g. CONFIG_TMSPCI=y shouldn't be allowed in this case.

    > Jeff

    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: Jean-Marc Valin: "Re: Increasing HZ (patch for HZ > 1000)"

    Relevant Pages

    • Re: menuconfig displays dependencies [Was: select FW_LOADER -> depends HOTPLUG]
      ... And in other cases, e.g. I2C_ALGOBIT might be a dependency, but depends ... Showing all!i386 drivers on i386 will make it harder for people to find ... 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: [patch] 2.6.0-test5: serio config broken?
      ... What you pick for SERIO does not select anything in INPUT. ... There's a dependency between SERIO and KEYBOARD_ATKBD that must be ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [patch] 2.6.9-rc1-mm4: small LOCALVERSION help text corrections
      ... >> config LOCALVERSION ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)
    • 2.6: sound/isa/gus/gus_lfo.c is unused
      ... sound/isa/gus/gus_lfo.c is completely unused (it's never built, ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)