From 811be69f592e7eee1dcde97e6d5c8a5042546550 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Sun, 16 Nov 1997 06:23:29 +0000 Subject: [PATCH] Restore diagnostic fix spammed after merging --- sys/i386/isa/sound/soundcard.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/sys/i386/isa/sound/soundcard.c b/sys/i386/isa/sound/soundcard.c index a83df9377eb..a6f0edc80c4 100644 --- a/sys/i386/isa/sound/soundcard.c +++ b/sys/i386/isa/sound/soundcard.c @@ -551,7 +551,8 @@ conf_printf(char *name, struct address_info * hw_config) if (!trace_init) return; - printf("<%s> ", name); + printf("snd0: <%s> ", name); +#if 0 if (hw_config->io_base != -1 ) printf("at 0x%03x", hw_config->io_base); @@ -563,7 +564,7 @@ conf_printf(char *name, struct address_info * hw_config) if (hw_config->dma2 != -1) printf(",%d", hw_config->dma2); } - +#endif } @@ -573,7 +574,10 @@ conf_printf2(char *name, int base, int irq, int dma, int dma2) if (!trace_init) return; - printf("<%s> at 0x%03x", name, base); + printf("snd0: <%s> ", name); +#if 0 + if (hw_config->io_base != -1 ) + printf("at 0x%03x", hw_config->io_base); if (irq) printf(" irq %d", irq); @@ -583,7 +587,7 @@ conf_printf2(char *name, int base, int irq, int dma, int dma2) if (dma2 != -1) printf(",%d", dma2); } - +#endif }