patch-1.3.58 linux/drivers/sound/sb_card.c
Next file: linux/drivers/sound/sb_dsp.c
Previous file: linux/drivers/sound/sb16_midi.c
Back to the patch index
Back to the overall index
- Lines: 31
- Date:
Tue Jan 9 00:37:33 1996
- Orig file:
v1.3.57/linux/drivers/sound/sb_card.c
- Orig date:
Wed Nov 8 07:11:36 1995
diff -u --recursive --new-file v1.3.57/linux/drivers/sound/sb_card.c linux/drivers/sound/sb_card.c
@@ -32,18 +32,18 @@
#include "sound_config.h"
-#if defined(CONFIGURE_SOUNDCARD) && !defined(EXCLUDE_SB)
+#if defined(CONFIG_SB)
#include "sb.h"
long
attach_sb_card (long mem_start, struct address_info *hw_config)
{
-#if !defined(EXCLUDE_AUDIO) || !defined(EXCLUDE_MIDI)
+#if defined(CONFIG_AUDIO) || defined(CONFIG_MIDI)
if (!sb_dsp_detect (hw_config))
return mem_start;
mem_start = sb_dsp_init (mem_start, hw_config);
- request_region (hw_config->io_base, 16, "SB");
+ request_region (hw_config->io_base, 16, "SoundBlaster");
#endif
return mem_start;
@@ -59,7 +59,7 @@
return 0;
}
-#if !defined(EXCLUDE_AEDSP16) && defined(AEDSP16_SBPRO)
+#if defined(CONFIG_AEDSP16) && defined(AEDSP16_SBPRO)
/*
* Initialize Audio Excel DSP 16 to SBPRO.
*/
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this