svn commit: r212550 - head/sys/mips/rmi
Andriy Gapon
avg at freebsd.org
Mon Sep 13 12:08:48 UTC 2010
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
More information about the svn-src-head
mailing list