From c734076e9c356c0fb652384da2e33895e2b7af2c Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Tue, 5 Sep 1995 19:48:58 +0000 Subject: [PATCH] Yet Another Sound Patch (YASP :-). This should fix the problems with the cs4231, soundblaster, and pas-16 that people have been reporting. Submitted by: james --- sys/i386/isa/sound/ad1848.c | 4 ---- sys/i386/isa/sound/pas2_pcm.c | 4 ---- sys/i386/isa/sound/sb16_dsp.c | 4 ---- 3 files changed, 12 deletions(-) diff --git a/sys/i386/isa/sound/ad1848.c b/sys/i386/isa/sound/ad1848.c index c76a3575dce2..59ec7f923cd5 100644 --- a/sys/i386/isa/sound/ad1848.c +++ b/sys/i386/isa/sound/ad1848.c @@ -474,11 +474,7 @@ static struct audio_operations ad1848_pcm_operations[MAX_AUDIO_DEV] = { { "Generic AD1848 codec", -#if defined(__FreeBSD__) - NEEDS_RESTART,/* disable automode for now until we get this working right */ -#else DMA_AUTOMODE, -#endif AFMT_U8, /* Will be set later */ NULL, ad1848_open, diff --git a/sys/i386/isa/sound/pas2_pcm.c b/sys/i386/isa/sound/pas2_pcm.c index 46b4055584e8..26fc94172d36 100644 --- a/sys/i386/isa/sound/pas2_pcm.c +++ b/sys/i386/isa/sound/pas2_pcm.c @@ -373,11 +373,7 @@ pas_pcm_prepare_for_output (int dev, int bsize, int bcount) static struct audio_operations pas_pcm_operations = { "Pro Audio Spectrum", -#if defined(__FreeBSD__) - 0, /* disable automode for now until we get this working right */ -#else DMA_AUTOMODE, -#endif AFMT_U8 | AFMT_S16_LE, NULL, pas_pcm_open, diff --git a/sys/i386/isa/sound/sb16_dsp.c b/sys/i386/isa/sound/sb16_dsp.c index 9d483af8c1c9..d093efb7e5ea 100644 --- a/sys/i386/isa/sound/sb16_dsp.c +++ b/sys/i386/isa/sound/sb16_dsp.c @@ -84,11 +84,7 @@ static void dsp_cleanup (void); static struct audio_operations sb16_dsp_operations = { "SoundBlaster 16", -#if defined(__FreeBSD__) - 0, /* disable automode for now until we get this working right */ -#else DMA_AUTOMODE, -#endif AFMT_U8 | AFMT_S16_LE, NULL, sb16_dsp_open,