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 <james@miller.cs.uwm.edu>
This commit is contained in:
Bill Paul 1996-01-09 03:19:51 +00:00
parent ad4f967485
commit ad7b4f8d41
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=13354

View File

@ -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