Skip to contentSkip to conversation

ALSA + YMFPCI compile fixes.

PATCH New Stelian Pop 1 participant 1 message Feb 20, 2002 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA + YMFPCI compile fixes.

The following patch is necessary to compile ALSA with YMFPCI support on 2.5.5, at least in the following configuration:
CONFIG_SOUND=m
CONFIG_SND=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=m
CONFIG_SND_YMFPCI=m

Even if my soundcard appears to work properly (using oss emulation), ALSA people will probably want to double-check this fix however...

Stelian.

===== sound/core/seq/Makefile 1.1 vs edited =====

sound/core/seq/Makefile +1 -1
@@ -76,7 +76,7 @@
 obj-$(CONFIG_SND_CS46XX) += snd-seq-midi.o snd-seq.o snd-seq-device.o snd-seq-midi-event.o
 obj-$(CONFIG_SND_EMU10K1) += snd-seq-midi.o snd-seq.o snd-seq-device.o snd-seq-midi-event.o snd-seq-midi-emul.o snd-seq-virmidi.o
 obj-$(CONFIG_SND_TRIDENT) += snd-seq-midi.o snd-seq.o snd-seq-device.o snd-seq-midi-event.o snd-seq-midi-emul.o snd-seq-instr.o
-obj-$(CONFIG_SND_YMFPCI) += snd-seq-midi.o snd-seq.o snd-seq-device.o snd-seq-midi-event.o
+obj-$(CONFIG_SND_YMFPCI) += snd-seq-midi.o snd-seq.o snd-seq-device.o snd-seq-midi-event.o snd-seq-midi-emul.o snd-seq-instr.o
 
 include $(TOPDIR)/Rules.make
 

===== sound/core/seq/instr/Makefile 1.1 vs edited =====

sound/core/seq/instr/Makefile +1 -0
@@ -44,6 +44,7 @@
 obj-$(CONFIG_SND_FM801) += snd-ainstr-fm.o
 obj-$(CONFIG_SND_SONICVIBES) += snd-ainstr-fm.o
 obj-$(CONFIG_SND_TRIDENT) += snd-ainstr-simple.o
+obj-$(CONFIG_SND_YMFPCI) += snd-ainstr-fm.o
 
 include $(TOPDIR)/Rules.make
 
Signature · 2 lines
Stelian Pop <[email protected]>
Alcove - http://www.alcove.com