All of lore.kernel.org
 help / color / mirror / Atom feed
From: rct@gherkin.frus.com (Bob_Tracy)
To: perex@suse.cz
Cc: linux-kernel@vger.kernel.org
Subject: 2.5.14+ ALSA OSS emulation
Date: Sun, 19 May 2002 19:56:55 -0500 (CDT)	[thread overview]
Message-ID: <m179bTr-0005khC@gherkin.frus.com> (raw)

In the 2.5.14 patchset, the following change was made in
linux/sound/core/Config.in:

-bool '  OSS API emulation' CONFIG_SND_OSSEMUL $CONFIG_SND
+dep_bool '  OSS API emulation' CONFIG_SND_OSSEMUL $CONFIG_SND

This breaks the OSS API emulation for people building their ALSA sound
drivers as modules (CONFIG_SND == "m").  The following patch applied
against the 2.5.16 kernel accomplishes what I think the author intended:

--- linux/sound/core/Config.in.orig	Sun May 19 18:44:34 2002
+++ linux/sound/core/Config.in	Sun May 19 18:45:30 2002
@@ -13,7 +13,9 @@
 if [ "$CONFIG_SND_SEQUENCER" != "n" ]; then
   dep_tristate '  Sequencer dummy client' CONFIG_SND_SEQ_DUMMY $CONFIG_SND_SEQUENCER
 fi
-dep_bool '  OSS API emulation' CONFIG_SND_OSSEMUL $CONFIG_SND
+if [ "$CONFIG_SND" != "n" ]; then
+  bool '  OSS API emulation' CONFIG_SND_OSSEMUL
+fi
 if [ "$CONFIG_SND_OSSEMUL" = "y" ]; then
   dep_tristate '    OSS Mixer API' CONFIG_SND_MIXER_OSS $CONFIG_SND
   dep_tristate '    OSS PCM API' CONFIG_SND_PCM_OSS $CONFIG_SND

Please apply.

-- 
-----------------------------------------------------------------------
Bob Tracy                   WTO + WIPO = DMCA? http://www.anti-dmca.org
rct@frus.com
-----------------------------------------------------------------------

             reply	other threads:[~2002-05-20  0:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-20  0:56 Bob_Tracy [this message]
2002-05-20 17:59 ` 2.5.14+ ALSA OSS emulation Linus Torvalds

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=m179bTr-0005khC@gherkin.frus.com \
    --to=rct@gherkin.frus.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=perex@suse.cz \
    /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.