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 3A1F8DDDE9 for ; Thu, 6 Dec 2007 05:05:51 +1100 (EST) Date: Wed, 5 Dec 2007 21:05:36 +0300 From: Vitaly Bordug To: "Grant Likely" Subject: Re: [PATCH] Add aliases node to 8641hpcn DTS file. Message-ID: <20071205210536.41158b6b@kernel.crashing.org> In-Reply-To: References: <1196875970.8544.12.camel@ld0161-tx32> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Cc: "linuxppc-dev@ozlabs.org" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 5 Dec 2007 10:38:38 -0700 Grant Likely wrote: > > > > + aliases { > > + ethernet0 = &enet0; > > + ethernet1 = &enet1; > > + ethernet2 = &enet2; > > + ethernet3 = &enet3; > > + serial0 = &serial0; > > + serial1 = &serial1; > > + pci0 = &pci0; > > + pci1 = &pci1; > > + }; > > I had thought aliases were supposed to be full paths to nodes instead > of phandles. Was I wrong? no, but dwg did a patch for dtc to do that dirty work for you, resolving labels. I am also curious if such a change made it in dtc git (working with full path aliases now). dtc should prolly get tagged and next sub-rev to be clear if it supports aliases or not. -- Sincerely, Vitaly