Update of /cvsroot/linux-mips/linux/drivers/sound
In directory usw-pr-cvs1:/tmp/cvs-serv3157/drivers/sound
Modified Files:
Config.in Makefile
Added Files:
vr41xx-sound.c
Log Message:
Adds more VR stuff for Cassiopeia E15 Support.
--- NEW FILE: vr41xx-sound.c ---
/*
linux/drivers/sound/vr41xx.c
VR41XX DMA based 10bit DAC sound driver derived from dmasound.c (of AMIGA)
Copyright (C) 2000,2001 by Hiroshi Kawashima <kaw...@in...>
This is distributed under the GNU GENERAL PUBLIC LICENSE (GPL)
Version 2 (June 1991). See the "COPYING" file distributed with this
software for more info.
*/
/*
**** Supported feature ****
* Linear signed/unsigned 8/16bit big/little endian PCM.
* 8bit A-Law/Mu-Law.
* Stereo -> Mono conversion (just compute average of R/L-ch).
**** Known Limitation ****
[...2265 lines suppressed...]
numBufs = ints[1];
if (ints[2] < MIN_BUFSIZE || ints[2] > MAX_BUFSIZE)
printk("dmasound_setup: illegal buffer size, using default = %d\n", bufSize);
else
bufSize = ints[2];
break;
case 0:
break;
default:
printk("dmasound_setup: illegal number of arguments\n");
return 0;
}
return 1;
}
__setup("dmasound=", dmasound_setup);
#endif /* MODULE */
/* vim:set ts=4:set sw=4: */
Index: Config.in
===================================================================
RCS file: /cvsroot/linux-mips/linux/drivers/sound/Config.in,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- Config.in 5 Feb 2002 17:25:11 -0000 1.13
+++ Config.in 7 Mar 2002 09:15:16 -0000 1.14
@@ -118,6 +118,11 @@
dep_tristate ' VIA 82C686 Audio Codec' CONFIG_SOUND_VIA82CXXX $CONFIG_PCI
dep_mbool ' VIA 82C686 MIDI' CONFIG_MIDI_VIA82CXXX $CONFIG_SOUND_VIA82CXXX
+# Sound driver for VR41XX
+if [ "$CONFIG_CPU_VR41XX" = "y" ]; then
+ bool ' Enable VR41XX 10bit DAC sound (Very alpha code)' CONFIG_SOUND_VR41XX
+fi
+
dep_tristate ' OSS sound modules' CONFIG_SOUND_OSS $CONFIG_SOUND
if [ "$CONFIG_SOUND_OSS" = "y" -o "$CONFIG_SOUND_OSS" = "m" ]; then
Index: Makefile
===================================================================
RCS file: /cvsroot/linux-mips/linux/drivers/sound/Makefile,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- Makefile 28 Jan 2002 21:00:02 -0000 1.12
+++ Makefile 7 Mar 2002 09:15:16 -0000 1.13
@@ -78,6 +78,7 @@
obj-$(CONFIG_SOUND_BT878) += btaudio.o
obj-$(CONFIG_SOUND_EMU10K1) += ac97_codec.o
obj-$(CONFIG_SOUND_RME96XX) += rme96xx.o
+obj-$(CONFIG_SOUND_VR41XX) += vr41xx-sound.o
ifeq ($(CONFIG_MIDI_EMU10K1),y)
obj-$(CONFIG_SOUND_EMU10K1) += sound.o
|