diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1997-12-06 07:48:22 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1997-12-06 07:48:22 +0000 |
| commit | a76d82867404d7c3559c96e6100e31c88c201ad5 (patch) | |
| tree | 3ece81a2bea27d672a63d105fd3e8a1259658e02 | |
| parent | 970649f9c90e9626da3716de450717512209a82f (diff) | |
Notes
| -rw-r--r-- | sys/i386/isa/sound/awe_wave.c | 11 |
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); |
