From: Steven Cole <elenstev@mesatop.com>
To: linux-kernel@vger.kernel.org
Cc: alan@lxorguk.ukuu.org.uk
Subject: [PATCH] 2.4.0test13pre4-ac2 fix for CONFIG_SOUND_YMFPCI problem
Date: Sat, 23 Dec 2000 17:58:57 -0700 [thread overview]
Message-ID: <00122317585703.07144@localhost.localdomain> (raw)
[-- Attachment #1: Type: text/plain, Size: 1904 bytes --]
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
[-- Attachment #2: ymfpci-patch --]
[-- Type: text/plain, Size: 926 bytes --]
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
reply other threads:[~2000-12-24 1:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=00122317585703.07144@localhost.localdomain \
--to=elenstev@mesatop.com \
--cc=alan@lxorguk.ukuu.org.uk \
--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;
as well as URLs for NNTP newsgroup(s).