Subject: Re: CVS commit: src
To: None <drochner@netbsd.org>
From: Chris G. Demetriou <cgd@netbsd.org>
List: tech-kern
Date: 05/16/1999 20:05:18
Matthias Drochner <drochner@netbsd.org> writes:
> Modified Files:
> 	src/sys/dev/wscons: files.wscons wsdisplay.c wskbd.c
> Log Message:
> Sort out the inclusion of wscons source files: the files are only
> compiled if the corresponding devices are configured.
> (Files calling wscons functions have to check whether these are present.)

in my opinon, the right way to do this is with some function pointers,
or stub functions, in the MI wscons code.

The individual drivers shouldn't need #include/#if (yes, I know i
started it)...  if somebody ever gets around to trying to create
binary kernel configuration kits, this would be Yet Another Thing to
be fixed, and there's no point in that.  8-)



cgd
-- 
Chris Demetriou - cgd@netbsd.org - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.