On Monday, September 13, 2010 8:08:44 am Andriy Gapon wrote: > on 13/09/2010 14:47 Jayachandran C. said the following: > > Author: jchandra > > Date: Mon Sep 13 11:47:35 2010 > > New Revision: 212550 > > URL: http://svn.freebsd.org/changeset/base/212550 > > > > Log: > > bus_add_child method is needed now. > > Just a note: bus_add_child method needs to be defined only if it's actually > used, i.e. a device/bus has at least one child that calls BUS_ADD_CHILD.
And that generally only happens in device_identify() methods of drivers that live on the bus. If a bus can self-enumerate devices (e.g. PCI) it should use device_add_child() directly. -- John Baldwin _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"