lkml.org 
[lkml]   [2000]   [Dec]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patches in this message
/
From
Subject[PATCH] 2.4.0test13pre4-ac2 fix for CONFIG_SOUND_YMFPCI problem
Date
With 2.4.0-test13-pre4-ac2, I get the following error with make xconfig:

make[1]: Leaving directory `/usr/src/linux-2.4.0-test13-pre4-ac2/scripts'
wish -f scripts/kconfig.tk
ERROR - Attempting to write value for unconfigured variable
(CONFIG_SOUND_YMFPCI).

It appears that in the 2.4.0test13pre4-ac2 patch, the method of configuring
CONFIG_SOUND_YMFPCI was changed by adding a
dep_tristate ' Yamaha PCI native mode support (EXPERIMENTAL)' and an
if test at lines 82-84 of drivers/sound/Config.in.

However, the old code with a
dep_tristate ' Yamaha YMF7xx PCI audio (native mode) (EXPERIMENTAL)'
and associated if test at lines 149-151 remained in the Config.in file.

It seems that these two sections of code are interferring with each other.

The following patch removes the older section of code associated with
CONFIG_SOUND_YMFPCI.

Due to the very long lines, this patch may suffer readability due to
wraparounds, so I will attach a copy.

Steven

diff -u linux/drivers/sound/Config.in.orig linux/drivers/sound/Config.in
--- linux/drivers/sound/Config.in.orig Sat Dec 23 14:30:53 2000
+++ linux/drivers/sound/Config.in Sat Dec 23 17:28:28 2000
@@ -146,9 +146,6 @@
dep_tristate ' Yamaha OPL3-SA1 audio controller' CONFIG_SOUND_OPL3SA1
$CONFIG_SOUND_OSS
dep_tristate ' Yamaha OPL3-SA2, SA3, and SAx based PnP cards'
CONFIG_SOUND_OPL3SA2 $CONFIG_SOUND_OSS
dep_tristate ' Yamaha YMF7xx PCI audio (legacy mode)'
CONFIG_SOUND_YMPCI $CONFIG_SOUND_OSS $CONFIG_PCI
- if [ "$CONFIG_SOUND_YMPCI" = "n" ]; then
- dep_tristate ' Yamaha YMF7xx PCI audio (native mode)
(EXPERIMENTAL)' CONFIG_SOUND_YMFPCI $CONFIG_SOUND_OSS $CONFIG_PCI
$CONFIG_EXPERIMENTAL
- fi
dep_tristate ' 6850 UART support' CONFIG_SOUND_UART6850
$CONFIG_SOUND_OSS

dep_tristate ' Gallant Audio Cards (SC-6000 and SC-6600 based)'
CONFIG_SOUND_AEDSP16 $CONFIG_SOUND_OSS

diff -u linux/drivers/sound/Config.in.orig linux/drivers/sound/Config.in
--- linux/drivers/sound/Config.in.orig Sat Dec 23 14:30:53 2000
+++ linux/drivers/sound/Config.in Sat Dec 23 17:28:28 2000
@@ -146,9 +146,6 @@
dep_tristate ' Yamaha OPL3-SA1 audio controller' CONFIG_SOUND_OPL3SA1 $CONFIG_SOUND_OSS
dep_tristate ' Yamaha OPL3-SA2, SA3, and SAx based PnP cards' CONFIG_SOUND_OPL3SA2 $CONFIG_SOUND_OSS
dep_tristate ' Yamaha YMF7xx PCI audio (legacy mode)' CONFIG_SOUND_YMPCI $CONFIG_SOUND_OSS $CONFIG_PCI
- if [ "$CONFIG_SOUND_YMPCI" = "n" ]; then
- dep_tristate ' Yamaha YMF7xx PCI audio (native mode) (EXPERIMENTAL)' CONFIG_SOUND_YMFPCI $CONFIG_SOUND_OSS $CONFIG_PCI $CONFIG_EXPERIMENTAL
- fi
dep_tristate ' 6850 UART support' CONFIG_SOUND_UART6850 $CONFIG_SOUND_OSS

dep_tristate ' Gallant Audio Cards (SC-6000 and SC-6600 based)' CONFIG_SOUND_AEDSP16 $CONFIG_SOUND_OSS
\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.021 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site