diff options
author | ache <ache@FreeBSD.org> | 1997-11-16 06:23:29 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-11-16 06:23:29 +0000 |
commit | b00e10eac76c9ea2bfc0ff12904ca3cd62686fd2 (patch) | |
tree | c3ba27d44f51f82c0458042e3000d6fc086416cf /sys | |
parent | e636aaead97b505295b7b196b55ef42f323d1bd4 (diff) | |
download | FreeBSD-src-b00e10eac76c9ea2bfc0ff12904ca3cd62686fd2.zip FreeBSD-src-b00e10eac76c9ea2bfc0ff12904ca3cd62686fd2.tar.gz |
Restore diagnostic fix spammed after merging
Diffstat (limited to 'sys')
-rw-r--r-- | sys/i386/isa/sound/soundcard.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sys/i386/isa/sound/soundcard.c b/sys/i386/isa/sound/soundcard.c index a83df93..a6f0edc 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 } |