From ad7b4f8d41f968eda51a3e0ffa5b17fcc428fa24 Mon Sep 17 00:00:00 2001 From: Bill Paul Date: Tue, 9 Jan 1996 03:19:51 +0000 Subject: [PATCH] Fix the 'extraneous newline' problem a little more sensibly: just taking it out fixes my problem but hoses the GUS MAX probe messages. Check what device we have and print things appropriately for each. Pointed out by: Jim Lowe --- sys/i386/isa/sound/ad1848.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/i386/isa/sound/ad1848.c b/sys/i386/isa/sound/ad1848.c index 077d612c5cb8..8167c0de884c 100644 --- a/sys/i386/isa/sound/ad1848.c +++ b/sys/i386/isa/sound/ad1848.c @@ -1192,7 +1192,10 @@ ad1848_init (char *name, int io_base, int irq, int dma_playback, int dma_capture "Generic audio codec (%s)", devc->chip_name); #if defined(__FreeBSD__) - printk ("gus0: <%s>", ad1848_pcm_operations[nr_ad1848_devs].name); + if (strcmp(name, "MS Sound System")) /* *sigh* */ + printk ("\ngus0: <%s>", ad1848_pcm_operations[nr_ad1848_devs].name); + else + printk ("mss0: <%s>", ad1848_pcm_operations[nr_ad1848_devs].name); #else printk (" <%s>", ad1848_pcm_operations[nr_ad1848_devs].name); #endif