netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: amd-xgbe: Add hardware dependency
@ 2015-05-06  7:04 Jean Delvare
  2015-05-09 20:24 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Jean Delvare @ 2015-05-06  7:04 UTC (permalink / raw)
  To: netdev; +Cc: Tom Lendacky, Florian Fainelli

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.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>
---
 drivers/net/ethernet/amd/Kconfig |    1 +
 drivers/net/phy/Kconfig          |    1 +
 2 files changed, 2 insertions(+)

--- linux-4.1-rc2.orig/drivers/net/ethernet/amd/Kconfig	2015-05-05 22:24:13.165215411 +0200
+++ linux-4.1-rc2/drivers/net/ethernet/amd/Kconfig	2015-05-05 22:28:34.406445584 +0200
@@ -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
--- linux-4.1-rc2.orig/drivers/net/phy/Kconfig	2015-04-27 02:59:10.000000000 +0200
+++ linux-4.1-rc2/drivers/net/phy/Kconfig	2015-05-05 23:08:37.194848765 +0200
@@ -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
 


-- 
Jean Delvare
SUSE L3 Support

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: amd-xgbe: Add hardware dependency
  2015-05-06  7:04 [PATCH] net: amd-xgbe: Add hardware dependency Jean Delvare
@ 2015-05-09 20:24 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2015-05-09 20:24 UTC (permalink / raw)
  To: jdelvare; +Cc: netdev, thomas.lendacky, f.fainelli

From: Jean Delvare <jdelvare@suse.de>
Date: Wed, 6 May 2015 09:04:40 +0200

> 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.
> 
> Signed-off-by: Jean Delvare <jdelvare@suse.de>

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-09 20:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-06  7:04 [PATCH] net: amd-xgbe: Add hardware dependency Jean Delvare
2015-05-09 20:24 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).