From owner-p4-projects@FreeBSD.ORG Thu Dec 3 17:00:28 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id AFAE910656D0; Thu, 3 Dec 2009 17:00:28 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68A4010656CD for ; Thu, 3 Dec 2009 17:00:28 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from mail.icecube.wisc.edu (trout.icecube.wisc.edu [128.104.255.119]) by mx1.freebsd.org (Postfix) with ESMTP id 2F8F68FC27 for ; Thu, 3 Dec 2009 17:00:28 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.icecube.wisc.edu (Postfix) with ESMTP id AB471582AD; Thu, 3 Dec 2009 11:00:27 -0600 (CST) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from mail.icecube.wisc.edu ([127.0.0.1]) by localhost (trout.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id 8j7ygV22GRaS; Thu, 3 Dec 2009 11:00:27 -0600 (CST) Received: from elpis.tachypleus.net (unknown [128.104.255.214]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 8DD3E582AB; Thu, 3 Dec 2009 11:00:27 -0600 (CST) Message-ID: <4B17EEA7.5040502@freebsd.org> Date: Thu, 03 Dec 2009 11:00:23 -0600 From: Nathan Whitehorn User-Agent: Thunderbird 2.0.0.23 (X11/20091130) MIME-Version: 1.0 To: Rafal Jaworowski References: <200912031658.nB3Gw60w063997@repoman.freebsd.org> In-Reply-To: <200912031658.nB3Gw60w063997@repoman.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Perforce Change Reviews Subject: Re: PERFORCE change 171338 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2009 17:00:29 -0000 Since this is the same as the OFW interface, or is supposed to be, would it make sense to make this be MI in /sys/dev/ofw, attaching with a low priority to any device with a phandle and OF children? -Nathan Rafal Jaworowski wrote: > http://p4web.freebsd.org/chv.cgi?CH=171338 > > Change 171338 by raj@raj_fdt on 2009/12/03 16:57:28 > > Initial version of the fdtbus driver. > > It handles IRQ and MEM resources. Based on the device tree top-level > entities are instantiated as newbus children on the fdtbus. > > The mpc85xx directory is temporary, it will be something generic once > we are done with FDT bringup for PowerPC and move on to ARM. > > Affected files ... > > .. //depot/projects/fdt/sys/conf/files.powerpc#4 edit > .. //depot/projects/fdt/sys/powerpc/mpc85xx/fdtbus.c#1 add > > Differences ... > > ==== //depot/projects/fdt/sys/conf/files.powerpc#4 (text+ko) ==== > > @@ -119,6 +119,7 @@ > powerpc/mpc85xx/atpic.c optional mpc85xx isa > powerpc/mpc85xx/ds1553_bus_lbc.c optional ds1553 > powerpc/mpc85xx/ds1553_core.c optional ds1553 > +powerpc/mpc85xx/fdtbus.c optional fdt > powerpc/mpc85xx/i2c.c optional iicbus mpc85xx > powerpc/mpc85xx/isa.c optional mpc85xx isa > powerpc/mpc85xx/lbc.c optional mpc85xx >