ppbus probe problem

Guido van Rooij guido at gvr.org
Thu Mar 18 02:05:52 PST 2004


On Thu, Mar 18, 2004 at 09:13:33AM +0000, Doug Rabson wrote:
> I would use something like:
> 
> static void
> vpo_identify(driver_t *driver, device_t parent)
> {
> 	device_t dev;
> 
> 	dev = device_find_child(parent, "vpo", 0);
> 	if (!dev)
> 		BUS_ADD_CHILD(parent, 0, "vpo", -1);
> }

So I'll update all of the ppbus drivers that way. Okay?

-Guido


More information about the freebsd-new-bus mailing list