[PATCH 01/14] net: xilinx: temac: Relax Kconfig dependencies

Radhey Shyam Pandey radheys at xilinx.com
Fri Jan 10 06:19:34 PST 2020


> -----Original Message-----
> From: Andre Przywara <andre.przywara at arm.com>
> Sent: Friday, January 10, 2020 5:24 PM
> To: David S . Miller <davem at davemloft.net>; Radhey Shyam Pandey
> <radheys at xilinx.com>
> Cc: Michal Simek <michals at xilinx.com>; Robert Hancock
> <hancock at sedsystems.ca>; netdev at vger.kernel.org; linux-arm-
> kernel at lists.infradead.org; linux-kernel at vger.kernel.org
> Subject: [PATCH 01/14] net: xilinx: temac: Relax Kconfig dependencies
> 
> Similar to axienet, the temac driver is now architecture agnostic, and
> can be at least compiled for several architectures.
> Especially the fact that this is a soft IP for implementing in FPGAs
> makes the current restriction rather pointless, as it could literally
> appear on any architecture, as long as an FPGA is connected to the bus.
> 
> The driver hasn't been actually tried on any hardware, it is just a
> drive-by patch when doing the same for axienet (a similar patch for
> axienet is already merged).
> 
> This (temac and axienet) have been compile-tested for:
> alpha hppa64 microblaze mips64 powerpc powerpc64 riscv64 s390 sparc64
> (using kernel.org cross compilers).
> 
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>
Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey at xilinx.com>

Thanks!
> ---
>  drivers/net/ethernet/xilinx/Kconfig | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/net/ethernet/xilinx/Kconfig
> b/drivers/net/ethernet/xilinx/Kconfig
> index 6304ebd8b5c6..0810af8193cb 100644
> --- a/drivers/net/ethernet/xilinx/Kconfig
> +++ b/drivers/net/ethernet/xilinx/Kconfig
> @@ -32,7 +32,6 @@ config XILINX_AXI_EMAC
> 
>  config XILINX_LL_TEMAC
>  	tristate "Xilinx LL TEMAC (LocalLink Tri-mode Ethernet MAC) driver"
> -	depends on PPC || MICROBLAZE || X86 || COMPILE_TEST
>  	select PHYLIB
>  	---help---
>  	  This driver supports the Xilinx 10/100/1000 LocalLink TEMAC
> --
> 2.17.1




More information about the linux-arm-kernel mailing list