[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48455EEA.3040909@freescale.com>
Date: Tue, 03 Jun 2008 10:10:34 -0500
From: Scott Wood <scottwood@...escale.com>
To: Kumar Gala <galak@...nel.crashing.org>
CC: Jeff Garzik <jeff@...zik.org>, netdev@...r.kernel.org,
linuxppc-dev@...abs.org, adrian.bunk@...ial.fi
Subject: Re: [RFC] Make board force selection of PHYLIB
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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists