mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
To: Andrea Barisani <lcars@infis.univ.trieste.it>
Cc: linux-kernel@vger.kernel.org, Andrew Morton <akpm@osdl.org>,
	alsa-devel@alsa-project.org
Subject: Re: kernel 2.6.0, wrong Kconfig directives
Date: Fri, 26 Dec 2003 04:20:21 +0900	[thread overview]
Message-ID: <87smj8bt6y.fsf@devron.myhome.or.jp> (raw)
In-Reply-To: <20031222235622.GA17030@sole.infis.univ.trieste.it>


> - SOUND_GAMEPORT option is always turned on
> 
> ./drivers/input/gameport/Kconfig
> 
> 22: config SOUND_GAMEPORT
> 23:         tristate
> 24:         default y if GAMEPORT!=m
> 25:         default m if GAMEPORT=m
> 
> line 24 is definetly wrong, option is enabled if GAMEPORT=n.

This patch uses "select" for the dependency of GAMEPORT.

Thanks.

 drivers/input/gameport/Kconfig |    5 -----
 sound/oss/Kconfig              |   18 ++++++++++++------
 2 files changed, 12 insertions(+), 11 deletions(-)

diff -puN drivers/input/gameport/Kconfig~fix-config-gameport drivers/input/gameport/Kconfig
--- linux-2.6.0/drivers/input/gameport/Kconfig~fix-config-gameport	2003-12-26 04:10:12.000000000 +0900
+++ linux-2.6.0-hirofumi/drivers/input/gameport/Kconfig	2003-12-26 04:10:12.000000000 +0900
@@ -19,11 +19,6 @@ config GAMEPORT
 	  To compile this driver as a module, choose M here: the
 	  module will be called gameport.
 
-config SOUND_GAMEPORT
-	tristate
-	default y if GAMEPORT!=m
-	default m if GAMEPORT=m
-
 config GAMEPORT_NS558
 	tristate "Classic ISA and PnP gameport support"
 	depends on GAMEPORT
diff -puN sound/oss/Kconfig~fix-config-gameport sound/oss/Kconfig
--- linux-2.6.0/sound/oss/Kconfig~fix-config-gameport	2003-12-26 04:10:12.000000000 +0900
+++ linux-2.6.0-hirofumi/sound/oss/Kconfig	2003-12-26 04:10:12.000000000 +0900
@@ -173,7 +173,8 @@ config SOUND_CS4281
 
 config SOUND_ES1370
 	tristate "Ensoniq AudioPCI (ES1370)"
-	depends on SOUND_PRIME!=n && SOUND && PCI && SOUND_GAMEPORT
+	depends on SOUND_PRIME!=n && SOUND && PCI
+	select GAMEPORT
 	help
 	  Say Y or M if you have a PCI sound card utilizing the Ensoniq
 	  ES1370 chipset, such as Ensoniq's AudioPCI (non-97). To find
@@ -186,7 +187,8 @@ config SOUND_ES1370
 
 config SOUND_ES1371
 	tristate "Creative Ensoniq AudioPCI 97 (ES1371)"
-	depends on SOUND_PRIME!=n && SOUND && PCI && SOUND_GAMEPORT
+	depends on SOUND_PRIME!=n && SOUND && PCI
+	select GAMEPORT
 	help
 	  Say Y or M if you have a PCI sound card utilizing the Ensoniq
 	  ES1371 chipset, such as Ensoniq's AudioPCI97. To find out if
@@ -199,7 +201,8 @@ config SOUND_ES1371
 
 config SOUND_ESSSOLO1
 	tristate "ESS Technology Solo1"
-	depends on SOUND_PRIME!=n && SOUND && SOUND_GAMEPORT
+	depends on SOUND_PRIME!=n && SOUND
+	select GAMEPORT
 	help
 	  Say Y or M if you have a PCI sound card utilizing the ESS Technology
 	  Solo1 chip. To find out if your sound card uses a
@@ -237,7 +240,8 @@ config SOUND_HARMONY
 
 config SOUND_SONICVIBES
 	tristate "S3 SonicVibes"
-	depends on SOUND_PRIME!=n && SOUND && SOUND_GAMEPORT
+	depends on SOUND_PRIME!=n && SOUND
+	select GAMEPORT
 	help
 	  Say Y or M if you have a PCI sound card utilizing the S3
 	  SonicVibes chipset. To find out if your sound card uses a
@@ -269,7 +273,8 @@ config SOUND_VRC5477
 
 config SOUND_TRIDENT
 	tristate "Trident 4DWave DX/NX, SiS 7018 or ALi 5451 PCI Audio Core"
-	depends on SOUND_PRIME!=n && SOUND && SOUND_GAMEPORT
+	depends on SOUND_PRIME!=n && SOUND
+	select GAMEPORT
 	---help---
 	  Say Y or M if you have a PCI sound card utilizing the Trident
 	  4DWave-DX/NX chipset or your mother board chipset has SiS 7018
@@ -782,7 +787,8 @@ config SOUND_NM256
 
 config SOUND_MAD16
 	tristate "OPTi MAD16 and/or Mozart based cards"
-	depends on SOUND_OSS && SOUND_GAMEPORT
+	depends on SOUND_OSS
+	select GAMEPORT
 	---help---
 	  Answer Y if your card has a Mozart (OAK OTI-601) or MAD16 (OPTi
 	  82C928 or 82C929 or 82C931) audio interface chip. These chips are

_

-- 
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>

  reply	other threads:[~2003-12-25 19:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-22 23:56 Andrea Barisani
2003-12-25 19:20 ` OGAWA Hirofumi [this message]
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
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=87smj8bt6y.fsf@devron.myhome.or.jp \
    --to=hirofumi@mail.parknet.co.jp \
    --cc=akpm@osdl.org \
    --cc=alsa-devel@alsa-project.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®