mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
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@suse.de> Cc: Tom Lendacky <thomas.lendacky@amd.com> Cc: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
d744318574
commit
74a78b15e6
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue