Subject: Re: kern/2228: /src/sys/dev/audio.h is missing
To: None <gnats-bugs@NetBSD.ORG, frueauf@ira.uka.de>
From: Mike Long <mike.long@analog.com>
List: netbsd-bugs
Date: 03/18/1996 13:15:46
>Date: Sun, 17 Mar 1996 16:31:24 GMT
>From: Thorsten Frueauf <frueauf@ira.uka.de>

>/src/sys/dev/audio.h is missing but gets included by two files:
>
>[milano@cybersil]/src/sys/dev# fgrep audio.h *.c *.h
>audio.c:#include "audio.h"
>dev_conf.h:#include "audio.h"
>
>>How-To-Repeat:
>	
>Try to compile a kernel on hp300 and watch it break:

hp300 still uses config.old, right?  In all other ports, the "audio"
attribute has a "needs-flag" attached, so config creates audio.h.
You need to modify whichever files.oldconf defines the audio driver to
do the same; this PR should be moved to port-hp300.

You need to add the line below to /sys/conf/files.oldconf:

dev/audio.c	optional audio needs-flag

Then, wherever the hp300 defines its audio driver, you need to add a
"requires audio" clause to it.
-- 
Mike Long <mike.long@analog.com>     <URL: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       (eq (opinion 'ADI) (opinion 'mike)) -> nil