All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@fs.tum.de>
To: Andrea Barisani <lcars@infis.univ.trieste.it>
Cc: linux-kernel@vger.kernel.org
Subject: Re: kernel 2.6.0, wrong Kconfig directives
Date: Mon, 5 Jan 2004 23:17:32 +0100	[thread overview]
Message-ID: <20040105221732.GG10569@fs.tum.de> (raw)
In-Reply-To: <20031222235622.GA17030@sole.infis.univ.trieste.it>

On Tue, Dec 23, 2003 at 12:56:23AM +0100, Andrea Barisani wrote:
> 
> Hi folks,

Hi Andrea,

> Installing 2.6.0 I've found that some kernel options directives are wrong,
> in fact the option turns out to be always enabled. I don't think this is 
> a desired behaviour.
> 
> Sorry for the format, yes I know it's ugly :) but I'll leave to you the proper 
> solution :) so I can't make a proper patch.
> 
> 
> - IPV6_SCTP___ option is always turned on
> 
> ./net/sctp/Kconfig:
> 
> 8:  config IPV6_SCTP__
> 9: 	    tristate
> 10:         default y if IPV6=n
> 11:	    default IPV6 if IPV6
> 12:
> 13: config IP_SCTP
> 14:	    tristate "The SCTP Protocol (EXPERIMENTAL)"
> 15:	    depends on IPV6_SCTP__
> 
> 
> I think something is wrong here, why the 'default y if IPV6=n' ???


It's ___ugly___ but designed this way...

The whole purpose of IPV6_SCTP__ is to disallow static IP_SCTP with
modular IPV6.


> - INPUT_MOUSEDEV option is always turned on
> 
> ./drivers/input/Kconfig:
> 
> 27: config INPUT_MOUSEDEV
> 28:	    tristate "Mouse interface" if EMBEDDED
> 29:	    default y
> 30:	    depends on INPUT
> 
> 43: config INPUT_MOUSEDEV_PSAUX
> 44:         bool "Provide legacy /dev/psaux device" if EMBEDDED
> 45:         default y
> 46:         depends on INPUT_MOUSEDEV
> 
> 
> the tristate directive is ignored in most default configurations since EMBEDDED
> is not set, however this doesn't allow to disable INPUT_MOUSEDEV and 
> INPUT_MOUSEDEV_PSAUX. I don't suppose this is right.
>...

These EMBEDDED are there to help people not to accidentially disable 
these options although they might require them.

> Bye 
>...

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


  parent reply	other threads:[~2004-01-05 22:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-22 23:56 kernel 2.6.0, wrong Kconfig directives Andrea Barisani
2003-12-25 19:20 ` OGAWA Hirofumi
2003-12-25 19:51   ` Muli Ben-Yehuda
2003-12-25 20:33     ` OGAWA Hirofumi
2003-12-25 20:38       ` Muli Ben-Yehuda
2003-12-25 21:25         ` OGAWA Hirofumi
2003-12-26  1:23           ` OGAWA Hirofumi
2003-12-25 19:39 ` Muli Ben-Yehuda
2004-01-05 22:17 ` Adrian Bunk [this message]
2004-01-05 22:59   ` Andrea Barisani
2004-01-06  1:22     ` Adrian Bunk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040105221732.GG10569@fs.tum.de \
    --to=bunk@fs.tum.de \
    --cc=lcars@infis.univ.trieste.it \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.