Date: Sun, 5 Sep 2010 19:57:24 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r212239 - head/sys/powerpc/aim Message-ID: <201009051957.o85JvOvA097053@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Sun Sep 5 19:57:24 2010 New Revision: 212239 URL: http://svn.freebsd.org/changeset/base/212239 Log: Make nexus report name and compat fields as pnpinfo for devices on the first level of hierarchy, same as done on deeper levels. Modified: head/sys/powerpc/aim/nexus.c Modified: head/sys/powerpc/aim/nexus.c ============================================================================== --- head/sys/powerpc/aim/nexus.c Sun Sep 5 19:24:32 2010 (r212238) +++ head/sys/powerpc/aim/nexus.c Sun Sep 5 19:57:24 2010 (r212239) @@ -63,6 +63,7 @@ #include <sys/kernel.h> #include <sys/malloc.h> +#include <dev/ofw/ofw_bus_subr.h> #include <dev/ofw/openfirm.h> #include <machine/bus.h> @@ -162,6 +163,7 @@ static device_method_t nexus_methods[] = /* Bus interface. Resource management is business of the children... */ DEVMETHOD(bus_add_child, nexus_add_child), DEVMETHOD(bus_print_child, bus_generic_print_child), + DEVMETHOD(bus_child_pnpinfo_str, ofw_bus_gen_child_pnpinfo_str), DEVMETHOD(bus_probe_nomatch, nexus_probe_nomatch), DEVMETHOD(bus_read_ivar, nexus_read_ivar), DEVMETHOD(bus_write_ivar, nexus_write_ivar),
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009051957.o85JvOvA097053>