Date: Mon, 13 Sep 2010 15:08:44 +0300 From: Andriy Gapon <avg@freebsd.org> To: "Jayachandran C." <jchandra@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r212550 - head/sys/mips/rmi Message-ID: <4C8E144C.3030405@freebsd.org> In-Reply-To: <201009131147.o8DBla8x095589@svn.freebsd.org> References: <201009131147.o8DBla8x095589@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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. > Modified: > head/sys/mips/rmi/iodi.c > > Modified: head/sys/mips/rmi/iodi.c > ============================================================================== > --- head/sys/mips/rmi/iodi.c Mon Sep 13 09:51:24 2010 (r212549) > +++ head/sys/mips/rmi/iodi.c Mon Sep 13 11:47:35 2010 (r212550) > @@ -305,6 +305,7 @@ static device_method_t iodi_methods[] = > DEVMETHOD(device_identify, iodi_identify), > DEVMETHOD(bus_alloc_resource, iodi_alloc_resource), > DEVMETHOD(bus_activate_resource, iodi_activate_resource), > + DEVMETHOD(bus_add_child, bus_generic_add_child), > DEVMETHOD(bus_setup_intr, iodi_setup_intr), > {0, 0}, > }; -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C8E144C.3030405>