From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from az33egw02.freescale.net (az33egw02.freescale.net [192.88.158.103]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "az33egw02.freescale.net", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 28AD0DE0CB for ; Wed, 4 Jun 2008 01:11:10 +1000 (EST) Message-ID: <48455EEA.3040909@freescale.com> Date: Tue, 03 Jun 2008 10:10:34 -0500 From: Scott Wood MIME-Version: 1.0 To: Kumar Gala Subject: Re: [RFC] Make board force selection of PHYLIB References: <484419EE.5040503@garzik.org> <1E4EB64C-0618-497E-AABC-74EB7D74B97F@kernel.crashing.org> <48442239.7090906@garzik.org> <83820D83-487C-4586-9867-F4226A87A276@freescale.com> <48445851.4090105@garzik.org> <095F258F-72DD-4F27-A457-A57D9FAA1E76@kernel.crashing.org> <48448020.5020407@freescale.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Cc: netdev@vger.kernel.org, adrian.bunk@movial.fi, Jeff Garzik , linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Kumar Gala wrote: > How is this as a fix. > > - k > > diff --git a/arch/powerpc/platforms/85xx/Kconfig b/arch/powerpc/platforms/85xx/Kconfig > index 7ff29d5..9e5c884 100644 > --- a/arch/powerpc/platforms/85xx/Kconfig > +++ b/arch/powerpc/platforms/85xx/Kconfig > @@ -34,6 +34,7 @@ config MPC85xx_MDS > bool "Freescale MPC85xx MDS" > select DEFAULT_UIMAGE > select QUICC_ENGINE > + select PHYLIB if GIANFAR=m > help > This option enables support for the MPC85xx MDS board I assume you'll also ifdef-protect the phy calls in the platform code? I'd rather avoid adding another case where the kernel needs to know what modules are being built, though, especially if the result of changing the .config and building modules is a mysterious runtime failure (due to a missing platform fixup) rather than compile- or insertion-time. -Scott