2 * lowlevel/init.c - Calls initialization code for configured drivers.
6 #include <linux/config.h>
7 #include <linux/module.h>
8 #include <linux/init.h>
9 #include "../soundvers.h"
11 #ifdef LOWLEVEL_MODULE
12 char *lowlevel_version
= SOUND_VERSION_STRING
;
15 extern int attach_aci(void);
16 extern void unload_aci(void);
17 extern int attach_awe(void);
18 extern void unload_awe(void);
19 extern int init_aedsp16(void) __init
;
20 extern void uninit_aedsp16(void) __init
;
23 * There are two places where you can insert initialization calls of
24 * low level drivers. sound_init_lowlevel_drivers() is called after
25 * the sound driver has been initialized (the normal case)
26 * while sound_preinit_lowlevel_drivers() is called before that.
29 sound_preinit_lowlevel_drivers(void)
31 #if defined(CONFIG_AEDSP16) && !defined(MODULE)
37 sound_init_lowlevel_drivers(void)
39 #ifdef CONFIG_ACI_MIXER
43 #ifdef CONFIG_AWE32_SYNTH
49 sound_unload_lowlevel_drivers(void)
51 #ifdef CONFIG_ACI_MIXER
55 #ifdef CONFIG_AWE32_SYNTH
65 EXPORT_SYMBOL(sound_init_lowlevel_drivers
);
66 EXPORT_SYMBOL(sound_unload_lowlevel_drivers
);
67 EXPORT_SYMBOL(sound_preinit_lowlevel_drivers
);