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),
_______________________________________________
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