From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from de01egw01.freescale.net (de01egw01.freescale.net [192.88.165.102]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "de01egw01.freescale.net", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTP id 188A6DDEC6 for ; Thu, 10 May 2007 04:26:45 +1000 (EST) Date: Wed, 9 May 2007 13:26:30 -0500 From: Scott Wood To: Segher Boessenkool Subject: Re: [PATCH 05/13] Document the fsl, magic-packet property in gianfar nodes. Message-ID: <20070509182630.GA19495@ld0162-tx32.am.freescale.net> References: <20070507182947.GD26920@ld0162-tx32.am.freescale.net> <463F9A38.6080408@freescale.com> <3FE06AFA-BEE6-46CF-B12C-29D979AE50D7@kernel.crashing.org> <20070508001808.GD7449@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Cc: linuxppc-dev@ozlabs.org, David Gibson List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, May 09, 2007 at 04:33:12PM +0200, Segher Boessenkool wrote: > >>>> As I previously wrote internally, it's only needed because some > >>>> versions of the device have it and some don't; what it really means > >>>> is that certain bits in certain registers are valid. > > So have the driver detect this based on "compatible" > or "model". Thus requiring the driver to maintain a list of models/compatibles for every possible combination of features, rather than letting the device tree specify them individually. What would be the advantage in that? -Scott