[patch 2.6.14] fec_8xx: make CONFIG_FEC_8XX depend on CONFIG_8xx

Pantelis Antoniou panto at intracom.gr
Mon Nov 7 18:53:25 EST 2005


John W. Linville wrote:
> Make CONFIG_FEC_8XX depend on CONFIG_8xx.  This keeps allmodconfig from
> breaking on non-8xx (PPC) platforms.
> 
> Signed-off-by: John W. Linville <linville at tuxdriver.com>
> ---
> 
>  drivers/net/fec_8xx/Kconfig |    2 +-
>  1 files changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/fec_8xx/Kconfig b/drivers/net/fec_8xx/Kconfig
> index 4560026..a84c232 100644
> --- a/drivers/net/fec_8xx/Kconfig
> +++ b/drivers/net/fec_8xx/Kconfig
> @@ -1,6 +1,6 @@
>  config FEC_8XX
>  	tristate "Motorola 8xx FEC driver"
> -	depends on NET_ETHERNET
> +	depends on NET_ETHERNET && 8xx
>  	select MII
>  
>  config FEC_8XX_GENERIC_PHY

Yes, this is the correct approach. Please disregard the other
patches floating about.

Regards

Pantelis




More information about the Linuxppc-embedded mailing list