summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/i386/isa/sound/awe_wave.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/i386/isa/sound/awe_wave.c b/sys/i386/isa/sound/awe_wave.c
index dec20b2e41bc..b4ee8c9a2998 100644
--- a/sys/i386/isa/sound/awe_wave.c
+++ b/sys/i386/isa/sound/awe_wave.c
@@ -450,13 +450,13 @@ int attach_awe(void)
{
/* check presence of AWE32 card */
if (! awe_detect()) {
- printk("AWE32: not detected\n");
+ printk("AWE32: not detected");
return ;
}
/* check AWE32 ports are available */
if (awe_check_port()) {
- printk("AWE32: I/O area already used.\n");
+ printk("AWE32: I/O area already used.");
return ;
}
@@ -466,7 +466,7 @@ int attach_awe(void)
PERMANENT_MALLOC(awe_voice_list *, infos,
AWE_MAX_INFOS * sizeof(awe_voice_list) );
if (samples == NULL || infos == NULL) {
- printk("AWE32: can't allocate sample tables\n");
+ printk("AWE32: can't allocate sample tables");
return ;
}
@@ -487,11 +487,10 @@ int attach_awe(void)
/* intialize AWE32 hardware */
awe_initialize();
-#if 0 /* Drivers shouldn't be this chatty by default */
- printk("<AWE32 SynthCard (%dk)>\n", (int)awe_mem_size/1024);
-#endif
sprintf(awe_info.name, "AWE32 Synth (%dk)", (int)awe_mem_size/1024);
+ conf_printf(awe_info.name, hw_config);
+
/* set reverb & chorus modes */
awe_set_reverb_mode(reverb_mode);
awe_set_chorus_mode(chorus_mode);