From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-in-05.arcor-online.net (mail-in-05.arcor-online.net [151.189.21.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.arcor.de", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTP id 4B34FDDE31 for ; Sat, 24 Mar 2007 03:51:24 +1100 (EST) In-Reply-To: <4604035F.8070703@freescale.com> References: <20070317013159.GH3969@localhost.localdomain> <45FC8643.1080807@freescale.com> <20070318115656.GA12765@localhost.localdomain> <45FEA7B3.9090304@freescale.com> <20070320035957.GC21124@localhost.localdomain> <45FFE8FD.9020902@freescale.com> <20070321025447.GG27969@localhost.localdomain> <460148DC.3020600@freescale.com> <20070322000620.GC2295@localhost.localdomain> <1174576516.6595.542.camel@ld0161-tx32> <20070323032214.GC28006@localhost.localdomain> <4603E648.4030907@freescale.com> <4604035F.8070703@freescale.com> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <10eb99e3d4037e36ba32d136f0e2bb52@kernel.crashing.org> From: Segher Boessenkool Subject: Re: [PATCH 10/17] bootwrapper: Add dt_set_mac_addresses(). Date: Fri, 23 Mar 2007 17:51:14 +0100 To: Timur Tabi Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , >>> I would have no objection to a patch for DTC that makes it treat "?" >>> like "0". This would probably make everyone happy. >> Some nice poison pattern instead of 0 would be even >> better. > > No, because that might break of_get_mac_address() which considers an > all-zero MAC address to be invalid. If you want to default a certain field, you shouldn't set it to ? ? ? ?, but to the default value you have in mind :-) Segher