From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id AC9876894D for ; Tue, 3 Jan 2006 09:00:56 +1100 (EST) From: Benjamin Herrenschmidt To: Olaf Hering In-Reply-To: <20060102131539.GA12434@suse.de> References: <1134457283.6989.185.camel@gaston> <20060102131539.GA12434@suse.de> Content-Type: text/plain Date: Tue, 03 Jan 2006 09:01:35 +1100 Message-Id: <1136239296.24205.18.camel@localhost.localdomain> Mime-Version: 1.0 Cc: linuxppc-dev list Subject: Re: [PATCH] powerpc: Remove device_node addrs/n_addr List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, 2006-01-02 at 14:15 +0100, Olaf Hering wrote: > On Tue, Dec 13, Benjamin Herrenschmidt wrote: > > > The pre-parsed addrs/n_addrs fields in struct device_node are finally > > gone. Remove the dodgy heuristics that did that parsing at boot and > > remove the fields themselves since we now have a good replacement with > > the new OF parsing code. This patch also fixes a bunch of drivers to use > > the new code instead, so that at least pmac32, pseries, iseries and g5 > > defconfigs build. > > > +++ linux-work/include/asm-powerpc/prom.h 2005-12-13 17:51:20.000000000 +1100 > > > @@ -120,8 +82,6 @@ struct device_node { > > char *type; > > phandle node; > > phandle linux_phandle; > > - int n_addrs; > > - struct address_range *addrs; > > int n_intrs; > > struct interrupt_info *intrs; > > char *full_name; > > Is this patch supposed to be complete? I will find references to n_addrs > in arch/powerpc: > > hydra_init, chrp_find_bridges, chrp_find_openpic, comment in > of_finish_dynamic_node. No, it's complete as far as powermac is concerned. I'll deal with the remaining bits this week. Ben.