From: Jean Delvare <jdelvare@suse.de>
To: netdev@vger.kernel.org
Cc: Tom Lendacky <thomas.lendacky@amd.com>,
Florian Fainelli <f.fainelli@gmail.com>
Subject: [PATCH] net: amd-xgbe: Add hardware dependency
Date: Wed, 6 May 2015 09:04:40 +0200 [thread overview]
Message-ID: <20150506090440.15fb1eef@endymion.delvare> (raw)
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
next reply other threads:[~2015-05-06 7:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-06 7:04 Jean Delvare [this message]
2015-05-09 20:24 ` [PATCH] net: amd-xgbe: Add hardware dependency David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150506090440.15fb1eef@endymion.delvare \
--to=jdelvare@suse.de \
--cc=f.fainelli@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=thomas.lendacky@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).