Skip to contentSkip to conversation

net: amd-xgbe: Add hardware dependency

PATCH Applied Jean Delvare 2 participants 2 messages May 6, 2015 – May 9, 2015

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: amd-xgbe: Add hardware dependency

The amd-xgbe driver currently only works with the Seattle SoC, which is ARM64 architecture, so there is no point in building this driver on other architectures except for build testing purpose. The dependency list can be updated later if the driver ever supports other architectures.

Cc Tom Lendacky <[email protected]>
Cc Florian Fainelli <[email protected]>
---
 drivers/net/ethernet/amd/Kconfig |    1 +
 drivers/net/phy/Kconfig          |    1 +
 2 files changed, 2 insertions(+)
drivers/net/ethernet/amd/Kconfig +1 -0
@@ -180,6 +180,7 @@ config SUNLANCE
 config AMD_XGBE
 	tristate "AMD 10GbE Ethernet driver"
 	depends on (OF_NET || ACPI) && HAS_IOMEM && HAS_DMA
+	depends on ARM64 || COMPILE_TEST
 	select PHYLIB
 	select AMD_XGBE_PHY
 	select BITREVERSE
drivers/net/phy/Kconfig +1 -0
@@ -27,6 +27,7 @@ config AMD_PHY
 config AMD_XGBE_PHY
 	tristate "Driver for the AMD 10GbE (amd-xgbe) PHYs"
 	depends on (OF || ACPI) && HAS_IOMEM
+	depends on ARM64 || COMPILE_TEST
 	---help---
 	  Currently supports the AMD 10GbE PHY
 
Signature · 2 lines
Jean Delvare
SUSE L3 Support
maintainer Applied
#1 lore raw

From: Jean Delvare <[email protected]>
Date: Wed, 6 May 2015 09:04:40 +0200

Quoted 7 lines

The amd-xgbe driver currently only works with the Seattle SoC, which is ARM64 architecture, so there is no point in building this driver on other architectures except for build testing purpose. The dependency list can be updated later if the driver ever supports other architectures.

Applied.