svn commit: r212550 - head/sys/mips/rmi
John Baldwin
jhb at freebsd.org
Mon Sep 13 15:10:31 UTC 2010
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
More information about the svn-src-all
mailing list