lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 6 May 2015 09:04:40 +0200
From:	Jean Delvare <jdelvare@...e.de>
To:	netdev@...r.kernel.org
Cc:	Tom Lendacky <thomas.lendacky@....com>,
	Florian Fainelli <f.fainelli@...il.com>
Subject: [PATCH] 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.

Signed-off-by: Jean Delvare <jdelvare@...e.de>
Cc: Tom Lendacky <thomas.lendacky@....com>
Cc: Florian Fainelli <f.fainelli@...il.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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ