Subject: Re: port-sparc/1241: /sys/arch/sparc/dev/amd7930.c breaks if DEBUG defined
To: None <gnats-bugs@NetBSD.ORG>
From: Mike Long <mike.long@analog.com>
List: netbsd-bugs
Date: 07/19/1995 12:49:25
>>Number: 1241
>>Category: port-sparc
>>Synopsis: /sys/arch/sparc/dev/amd7930.c breaks if DEBUG defined
>>Description:
> Compiling /sys/arch/sparc/dev/amd7930.c with DEBUG defined results
> in a kernel that cannot link because it cannot find Dprintf...
>
>>How-To-Repeat:
> Define DEBUG in the conf file & try to build a kernel..
>>Fix:
As an immediate fix, change all instances of DEBUG in amd7930.c to
AUDIO_DEBUG. Add
options AUDIO_DEBUG
to your kernel config file if you want to see lots of spew from the
audio subsystem.
The Dprintf() function is defined in /sys/dev/audio.c. It appears to
be very similar to the log() function in /sys/kern/subr_prf.c. I will
take a closer look.
--
Mike Long <mike.long@analog.com> http://www.shore.net/~mikel
VLSI Design Engineer finger mikel@shore.net for PGP public key
Analog Devices, CPD Division CCBF225E7D3F7ECB2C8F7ABB15D9BE7B
Norwood, MA 02062 USA assert(*this!=opinionof(Analog));