From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from de01egw02.freescale.net (de01egw02.freescale.net [192.88.165.103]) by ozlabs.org (Postfix) with ESMTP id 4EC70DDF2E for ; Thu, 22 Mar 2007 06:10:19 +1100 (EST) Message-ID: <46018315.1030703@freescale.com> Date: Wed, 21 Mar 2007 14:10:13 -0500 From: Timur Tabi MIME-Version: 1.0 To: Segher Boessenkool Subject: Re: [PATCH 10/17] bootwrapper: Add dt_set_mac_addresses(). References: <20070316172641.GA29709@ld0162-tx32.am.freescale.net> <20070316172853.GJ29784@ld0162-tx32.am.freescale.net> <20070317013159.GH3969@localhost.localdomain> <45FC8643.1080807@freescale.com> <20070318115656.GA12765@localhost.localdomain> <45FEA7B3.9090304@freescale.com> <1b943ac2c00b7f1f5696d006b67e9877@kernel.crashing.org> <46014BF5.6060509@freescale.com> <995355b28eecaafe955a5628ee939340@kernel.crashing.org> In-Reply-To: <995355b28eecaafe955a5628ee939340@kernel.crashing.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Segher Boessenkool wrote: >> Eh, I don't think I agree with that. mac-address is supposed to be >> used if it exists, because it represents the "most recent MAC address". > > That's policy and belongs in user land, not in the kernel, > and certainly not in a device driver. The device driver needs to know what MAC address to program into the hardware when it initializes it. Everything else the driver needs is also in the device tree. So you're saying the driver should ignore the MAC address fields, and then when it needs a MAC address, it should ......... ? -- Timur Tabi Linux Kernel Developer @ Freescale