From owner-svn-src-head@FreeBSD.ORG Sun Sep 5 19:57:25 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11F351065694; Sun, 5 Sep 2010 19:57:25 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 01C798FC17; Sun, 5 Sep 2010 19:57:25 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o85JvO2b097055; Sun, 5 Sep 2010 19:57:24 GMT (envelope-from mav@svn.freebsd.org) Received: (from mav@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o85JvOvA097053; Sun, 5 Sep 2010 19:57:24 GMT (envelope-from mav@svn.freebsd.org) Message-Id: <201009051957.o85JvOvA097053@svn.freebsd.org> From: Alexander Motin Date: Sun, 5 Sep 2010 19:57:24 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r212239 - head/sys/powerpc/aim X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Sep 2010 19:57:25 -0000 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 #include +#include #include #include @@ -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),