Subject: Re: CVS commit: syssrc
To: Steve Woodford <scw@netbsd.org>
From: Jason R Thorpe <thorpej@zembu.com>
List: tech-kern
Date: 12/01/2000 13:58:43
On Fri, Dec 01, 2000 at 09:31:48PM +0000, Steve Woodford wrote:
> Generic kernels will still print "not configured" if devices are not
> present, but if someone leaves out support for a device in a kernel of
> there own, it doesn't make much sense telling them they left it out IMO.
Err, that's backwards.
If a device is not actually *present*, nothing should be printed (i.e.
the probe routine would return QUIET) ... perhaps the bus code should
actually do the bus_space_peek() to determine if a device is there before
calling the probe function.
In any case, if a device is present, and a driver is not in the kernel for
it, then "foo at bar0 offset ... not configured" should be printed.
--
-- Jason R. Thorpe <thorpej@zembu.com>