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:
parent
94d839041d
commit
3b2918e2d0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user