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
_______________________________________________
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"

Reply via email to