summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2010-09-05 19:57:24 +0000
committermav <mav@FreeBSD.org>2010-09-05 19:57:24 +0000
commit90db0224ffc7d244859d788e9107f74418a3e22d (patch)
treef3c75a20640f88dde1c5a73aca47b84afe7c0afd /sys/powerpc
parentece17c923a8f9f74dbe99a225404b89c8d6363e0 (diff)
downloadFreeBSD-src-90db0224ffc7d244859d788e9107f74418a3e22d.zip
FreeBSD-src-90db0224ffc7d244859d788e9107f74418a3e22d.tar.gz
Make nexus report name and compat fields as pnpinfo for devices on the
first level of hierarchy, same as done on deeper levels.
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/aim/nexus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/powerpc/aim/nexus.c b/sys/powerpc/aim/nexus.c
index b3350a1..46e57a5 100644
--- a/sys/powerpc/aim/nexus.c
+++ b/sys/powerpc/aim/nexus.c
@@ -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),
OpenPOWER on IntegriCloud