[v3,net-next] net: axienet: In kconfig remove arch dependency for axi_emac
diff mbox series

Message ID 1573622483-2033-1-git-send-email-radhey.shyam.pandey@xilinx.com
State Mainlined
Commit d7eaf962a90bf922c1ea2697933edfeca285a7d7
Headers show
Series
  • [v3,net-next] net: axienet: In kconfig remove arch dependency for axi_emac
Related show

Commit Message

Radhey Shyam Pandey Nov. 13, 2019, 5:21 a.m. UTC
To enable xilinx axi_emac driver support on zynqmp ultrascale platform
(ARCH64) there are two choices, mention ARCH64 as a dependency list
and other is to check if this ARCH dependency list is really needed.
Later approach seems more reasonable, so remove the obsolete ARCH
dependency list for the axi_emac driver.

Sanity test done for microblaze, zynq and zynqmp ultrascale platform.

Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
---
Changes for v3:
Remove obsolete dependency list. Suggested by Michal and Jakub.
Modified commit description.
---
 drivers/net/ethernet/xilinx/Kconfig |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

Comments

David Miller Nov. 13, 2019, 7:44 p.m. UTC | #1
From: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Date: Wed, 13 Nov 2019 10:51:23 +0530

> To enable xilinx axi_emac driver support on zynqmp ultrascale platform
> (ARCH64) there are two choices, mention ARCH64 as a dependency list
> and other is to check if this ARCH dependency list is really needed.
> Later approach seems more reasonable, so remove the obsolete ARCH
> dependency list for the axi_emac driver.
> 
> Sanity test done for microblaze, zynq and zynqmp ultrascale platform.
> 
> Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>

Applied.

Patch
diff mbox series

diff --git a/drivers/net/ethernet/xilinx/Kconfig b/drivers/net/ethernet/xilinx/Kconfig
index 8d994ce..6304ebd 100644
--- a/drivers/net/ethernet/xilinx/Kconfig
+++ b/drivers/net/ethernet/xilinx/Kconfig
@@ -6,7 +6,6 @@ 
 config NET_VENDOR_XILINX
 	bool "Xilinx devices"
 	default y
-	depends on PPC || PPC32 || MICROBLAZE || ARCH_ZYNQ || MIPS || X86 || ARM || COMPILE_TEST
 	---help---
 	  If you have a network (Ethernet) card belonging to this class, say Y.
 
@@ -26,11 +25,10 @@  config XILINX_EMACLITE
 
 config XILINX_AXI_EMAC
 	tristate "Xilinx 10/100/1000 AXI Ethernet support"
-	depends on MICROBLAZE || X86 || ARM || COMPILE_TEST
 	select PHYLINK
 	---help---
 	  This driver supports the 10/100/1000 Ethernet from Xilinx for the
-	  AXI bus interface used in Xilinx Virtex FPGAs.
+	  AXI bus interface used in Xilinx Virtex FPGAs and Soc's.
 
 config XILINX_LL_TEMAC
 	tristate "Xilinx LL TEMAC (LocalLink Tri-mode Ethernet MAC) driver"