From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Subject: Re: [RFC] [PATCH] Device Tree on ARM platform Date: Wed, 27 May 2009 15:27:57 -0500 Message-ID: <4A1DA24D.5000101@freescale.com> References: <20090527192909.GA32398@flint.arm.linux.org.uk> <4A1D9A1E.80603@freescale.com> <4A1D9A66.5020002@freescale.com> <20090527.132553.40558501.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20090527.132553.40558501.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-mnsaURCQ41sdnm+yROfE0A@public.gmane.org Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-mnsaURCQ41sdnm+yROfE0A@public.gmane.org To: David Miller Cc: rmk+lkml-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org, devicetree-discuss-mnsaURCQ41sdnm+yROfE0A@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, scottwood-KZfg59tc24xl57MIdRCFDg@public.gmane.org, yuan-bo.ye-3WKxDLwmzFNWk0Htik3J/w@public.gmane.org, linux-arm-kernel-xIg/pKzrS19vn6HldHNs0ANdhmdF6hFW@public.gmane.org List-Id: devicetree@vger.kernel.org David Miller wrote: > It depends. Some devices have EEPROM's that store the permanently > assigned MAC address, some have NVRAM for this, and yet other's put it > into the PCI ROM. Well, I specifically said "isn't already programmed in the hardware". I wasn't talking about just the NIC. > Some platforms that have real OF device trees often do not put the > permanent MAC address into the EEPROM or NVRAM even if it is > customary to do so on a particular device. The MAC has to be > obtained from the OF device tree. Sorry, you're not answering my question. I asked what do drivers do when the MAC address is not in the OF tree, and it is not programmed in hardware (any hardware). -- Timur Tabi Linux kernel developer at Freescale