diff options
author | swallace <swallace@FreeBSD.org> | 1995-03-12 23:34:12 +0000 |
---|---|---|
committer | swallace <swallace@FreeBSD.org> | 1995-03-12 23:34:12 +0000 |
commit | 918019dbbdac1461aa95629db3d864b7701860ff (patch) | |
tree | 27d81f18aab07907ea53bb67e00627773ac49366 /sys/i386/isa/sound/sb_dsp.c | |
parent | 1d684c7bdec8e2179021e431efa36a207446a54f (diff) | |
download | FreeBSD-src-918019dbbdac1461aa95629db3d864b7701860ff.zip FreeBSD-src-918019dbbdac1461aa95629db3d864b7701860ff.tar.gz |
Reorganize how sound devices are configured. Use a snd controller
with individual devices for each type of sound card:
opl, sb, sbxvi, sbmidi, pas, mpu, gus, gusxvi, gusmax, mss, uart
EXCLUDE_* options are no longer required to be included in the config file.
They are automatically determined by local.h depending on the devices
included.
Move #includes in local.h to os.h so files are included in the proper
order to avoid warnings.
soundcard.c now has additional code to reflect the device driver
routines needed.
Define new EXCLUDE_SB16MIDI for use in sb16_midi.c and dev_table.h.
#ifndef EXCLUDE_SEQUENCER or EXCLUDE_AUDIO have been added to
soundcard.c and sound_switch.c where appropriate.
Probe outputs changed to reflect new device names.
Readme.freebsd not needed. Update sound.doc with new config instructions.
Reviewed by: wollman
Diffstat (limited to 'sys/i386/isa/sound/sb_dsp.c')
-rw-r--r-- | sys/i386/isa/sound/sb_dsp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/i386/isa/sound/sb_dsp.c b/sys/i386/isa/sound/sb_dsp.c index 7444286..5db3c9b 100644 --- a/sys/i386/isa/sound/sb_dsp.c +++ b/sys/i386/isa/sound/sb_dsp.c @@ -91,7 +91,6 @@ volatile int sb_intr_active = 0; static int dsp_speed (int); static int dsp_set_stereo (int mode); -int sb_dsp_command (unsigned char val); #if !defined(EXCLUDE_MIDI) || !defined(EXCLUDE_AUDIO) @@ -825,7 +824,7 @@ sb_dsp_init (long mem_start, struct address_info *hw_config) } #ifdef __FreeBSD__ - printk ("snd2: <%s>", sb_dsp_operations.name); + printk ("sb0: <%s>", sb_dsp_operations.name); #else printk (" <%s>", sb_dsp_operations.name); #endif |