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:
wpaul 1996-01-09 03:19:51 +00:00
parent 7fb4de5305
commit ecb2b93c6a

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