mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
ad4f967485
commit
ad7b4f8d41
1 changed files with 4 additions and 1 deletions
|
|
@ -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 a new issue