summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/sound/soundcard.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-11-15 18:35:35 +0000
committerjkh <jkh@FreeBSD.org>1996-11-15 18:35:35 +0000
commitc51142b4451690df0f5512654615941a47971a15 (patch)
tree4f7a7b0024d3a562e9ce5fd9c0b35a09e4a23b7c /sys/i386/isa/sound/soundcard.c
parent5748956625e5b80556b7fc4defdcfd2b4ed86a28 (diff)
downloadFreeBSD-src-c51142b4451690df0f5512654615941a47971a15.zip
FreeBSD-src-c51142b4451690df0f5512654615941a47971a15.tar.gz
Break my own rule again - I didn't think this stuff was going to come back
with the copyright stuff fixed so soon (this should be merged into 2.2 when you have a chance, Poul). This is the new AWE32 driver, with support for the AWE32's fancy MIDI synthesizer. The utilities for this will appear as port submissions soon afterwards, according to the submitter. Submitted-By: Randall Hopper <rhh@ct.picker.com> Written-By: Takashi Iwai <iwai@dragon.mm.t.u-tokyo.ac.jp>
Diffstat (limited to 'sys/i386/isa/sound/soundcard.c')
-rw-r--r--sys/i386/isa/sound/soundcard.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/i386/isa/sound/soundcard.c b/sys/i386/isa/sound/soundcard.c
index 3a06b6c..3908e4b 100644
--- a/sys/i386/isa/sound/soundcard.c
+++ b/sys/i386/isa/sound/soundcard.c
@@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: soundcard.c,v 1.43 1996/09/10 08:26:06 bde Exp $
+ * $Id: soundcard.c,v 1.44 1996/11/02 10:38:04 asami Exp $
*/
#include <i386/isa/sound/sound_config.h>
@@ -84,6 +84,7 @@ struct isa_driver opldriver = {sndprobe, sndattach, "opl"};
struct isa_driver sbdriver = {sndprobe, sndattach, "sb"};
struct isa_driver sbxvidriver = {sndprobe, sndattach, "sbxvi"};
struct isa_driver sbmididriver = {sndprobe, sndattach, "sbmidi"};
+struct isa_driver awedriver = {sndprobe, sndattach, "awe"};
struct isa_driver pasdriver = {sndprobe, sndattach, "pas"};
struct isa_driver mpudriver = {sndprobe, sndattach, "mpu"};
struct isa_driver gusdriver = {sndprobe, sndattach, "gus"};
@@ -271,6 +272,8 @@ driver_to_voxunit(struct isa_driver *driver)
return(SNDCARD_SB16);
else if(driver == &sbmididriver)
return(SNDCARD_SB16MIDI);
+ else if(driver == &awedriver)
+ return(SNDCARD_AWE32);
else if(driver == &uartdriver)
return(SNDCARD_UART6850);
else if(driver == &gusdriver)
OpenPOWER on IntegriCloud