[PATCH] 2.5.5-pre1 OSS YMFPCI

From: John Weber (john.weber@linuxhq.com)
Date: Thu Feb 14 2002 - 10:38:41 EST


Pete Zaitcev wrote:
>>The ALSA YMFPCI driver doesn't seem to be functioning.
>>
>
> Just curious... Can you enable the old OSS driver in the
> 2.5.5-pre1 kernel?
>

I actually have been using the old OSS driver since I discovered that
the ALSA driver wasn't working.

So, provided that I move the CONFIG_SOUND_YMFPCI option out from inside
the 'OSS Sound Modules' section (which takes care of the link error
caused by dmabuf.c use of virt_to_bus -- which occurs even when I
disable persitent dma buffers), the OSS YMFPCI driver works perfectly.

Here's what I did to 2.5.5-pre1:

--- linux-2.5.4/sound/oss/Config.in Thu Feb 14 10:32:40 2002
+++ linux-2.5.5/sound/oss/Config.in Wed Feb 13 21:48:57 2002
@@ -103,6 +103,8 @@
  dep_tristate ' VIA 82C686 Audio Codec' CONFIG_SOUND_VIA82CXXX $CONFIG_PCI
  dep_mbool ' VIA 82C686 MIDI' CONFIG_MIDI_VIA82CXXX
$CONFIG_SOUND_VIA82CXXX

+dep_tristate ' Yamaha YMF7xx PCI audio (native mode)'
CONFIG_SOUND_YMFPCI $CON
FIG_PCI
+
  dep_tristate ' OSS sound modules' CONFIG_SOUND_OSS $CONFIG_SOUND

  if [ "$CONFIG_SOUND_OSS" = "y" -o "$CONFIG_SOUND_OSS" = "m" ]; then
@@ -164,7 +166,6 @@
     dep_tristate ' Yamaha FM synthesizer (YM3812/OPL-3) support'
CONFIG_SOUND
_YM3812 $CONFIG_SOUND_OSS
     dep_tristate ' Yamaha OPL3-SA1 audio controller'
CONFIG_SOUND_OPL3SA1 $CO
NFIG_SOUND_OSS
     dep_tristate ' Yamaha OPL3-SA2 and SA3 based PnP cards'
CONFIG_SOUND_OPL3
SA2 $CONFIG_SOUND_OSS
- dep_tristate ' Yamaha YMF7xx PCI audio (native mode)'
CONFIG_SOUND_YMFPCI
  $CONFIG_SOUND_OSS $CONFIG_PCI
     dep_mbool ' Yamaha PCI legacy ports support'
CONFIG_SOUND_YMFPCI_LEGACY
  $CONFIG_SOUND_YMFPCI
     dep_tristate ' 6850 UART support' CONFIG_SOUND_UART6850
$CONFIG_SOUND_OSS

(o- j o h n e w e b e r
//\ http://www.linuxhq.com/people/weber/
v_/_ john.weber@linuxhq.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 15 2002 - 21:01:02 EST