Subject: Re: [linuxppc-release] [PATCH] net/fsl: remove dependency FSL_SOC from MDIO

From: Emil Medve <[email-masked]>
Date: Tue, 10 Mar 2015 08:17:52 -0500

Hello Shao-Hui,

On 03/10/2015 05:31 AM, [email-masked] wrote:
> From: Shaohui Xie <[email-masked]>
> 
> FSL_PQ_MDIO and FSL_XGMAC_MDIO are not really depend on FSL_SOC, they
> can build on non-PPC platforms.

FSL_SOC is already defined for some ARM-based SoC? Why don't you use/fix
that. We have plenty of devices integrated on both SoC families...

Or are you targeting other non-PPC/ARM SoC(s)?

Cheers,

> Signed-off-by: Shaohui Xie <[email-masked]>
> ---
>  drivers/net/ethernet/freescale/Kconfig | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/net/ethernet/freescale/Kconfig b/drivers/net/ethernet/freescale/Kconfig
> index ba84c4a..25e3425 100644
> --- a/drivers/net/ethernet/freescale/Kconfig
> +++ b/drivers/net/ethernet/freescale/Kconfig
> @@ -58,14 +58,12 @@ source "drivers/net/ethernet/freescale/fs_enet/Kconfig"
>  
>  config FSL_PQ_MDIO
>  	tristate "Freescale PQ MDIO"
> -	depends on FSL_SOC
>  	select PHYLIB
>  	---help---
>  	  This driver supports the MDIO bus used by the gianfar and UCC drivers.
>  
>  config FSL_XGMAC_MDIO
>  	tristate "Freescale XGMAC MDIO"
> -	depends on FSL_SOC
>  	select PHYLIB
>  	select OF_MDIO
>  	---help---
>