Date: Sun, 21 Oct 2018 02:30:34 +0000 (UTC) From: Justin Hibbits <jhibbits@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r339521 - head/sys/powerpc/powernv Message-ID: <201810210230.w9L2UYuK090726@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhibbits Date: Sun Oct 21 02:30:34 2018 New Revision: 339521 URL: https://svnweb.freebsd.org/changeset/base/339521 Log: powerpc64/powernv: Add pnpinfo strings to opal device children This makes it easier to see what's left unattached as new drivers are written, and to see what drivers get attached to what nodes. Modified: head/sys/powerpc/powernv/opal_dev.c Modified: head/sys/powerpc/powernv/opal_dev.c ============================================================================== --- head/sys/powerpc/powernv/opal_dev.c Sun Oct 21 02:28:04 2018 (r339520) +++ head/sys/powerpc/powernv/opal_dev.c Sun Oct 21 02:30:34 2018 (r339521) @@ -70,6 +70,9 @@ static device_method_t opaldev_methods[] = { DEVMETHOD(clock_gettime, opal_gettime), DEVMETHOD(clock_settime, opal_settime), + /* Bus interface */ + DEVMETHOD(bus_child_pnpinfo_str, ofw_bus_gen_child_pnpinfo_str), + /* ofw_bus interface */ DEVMETHOD(ofw_bus_get_devinfo, opaldev_get_devinfo), DEVMETHOD(ofw_bus_get_compat, ofw_bus_gen_get_compat),
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810210230.w9L2UYuK090726>