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 03EC6DE0F0 for ; Sat, 15 Dec 2007 03:10:10 +1100 (EST) Date: Fri, 14 Dec 2007 10:09:28 -0600 From: Scott Wood To: Olof Johansson Subject: Re: [PATCH v2 2/4] [libata] pata_of_platform: OF-Platform PATA device driver Message-ID: <20071214160928.GA16607@ld0162-tx32.am.freescale.net> References: <20071204170442.GA10460@localhost.localdomain> <20071204170719.GB15599@localhost.localdomain> <20071204184826.GA5758@lixom.net> <20071204194921.GB1253@localhost.localdomain> <20071204200121.GA6782@lixom.net> <20071205004841.GA25905@linux-sh.org> <20071205183912.GA4516@loki.buserror.net> <20071214082313.GA28118@lixom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20071214082313.GA28118@lixom.net> Cc: linux-ide@vger.kernel.org, Paul Mundt , Arnd Bergmann , Jeff Garzik , linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, Dec 14, 2007 at 02:23:13AM -0600, Olof Johansson wrote: > On Wed, Dec 05, 2007 at 12:39:12PM -0600, Scott Wood wrote: > > Why is it dependent on anything other than platform bus support and ATA? > > There's no way to specify dependency on platform bus as a config option, > that's likely what EMBEDDED was meant to do. Some platforms have platform > bus in spite of being !EMBEDDED, arch/arm/configs/rpc_defconfig seems > to be among those. PPC too. If platform bus can't be configged out, then the only dependency should be the implicit one on ATA (is there anything else whose absence will stop the code from building, or working if the appropriate platform device is passed in?). -Scott