aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/amd
diff options
context:
space:
mode:
authorLendacky, Thomas <Thomas.Lendacky@amd.com>2014-06-05 10:15:18 -0400
committerDavid S. Miller <davem@davemloft.net>2014-06-05 18:26:51 -0400
commit1ebe98dcd89c624d08a3712a8a9f1706bf213172 (patch)
treefaea505c26915808133023826e16aa15d198990a /drivers/net/ethernet/amd
parent4d874b30b14674284d72f92485e991b984b0b5e1 (diff)
amd-xgbe: Configuration and build support
This patch provides the Kconfig and Makefile changes needed to configure and build the AMD 10GbE platform driver and the AMD 10GbE phylib driver. Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/amd')
-rw-r--r--drivers/net/ethernet/amd/Kconfig14
-rw-r--r--drivers/net/ethernet/amd/Makefile1
2 files changed, 14 insertions, 1 deletions
diff --git a/drivers/net/ethernet/amd/Kconfig b/drivers/net/ethernet/amd/Kconfig
index 562df46e0a82..bbaf36d9f5e1 100644
--- a/drivers/net/ethernet/amd/Kconfig
+++ b/drivers/net/ethernet/amd/Kconfig
@@ -7,7 +7,7 @@ config NET_VENDOR_AMD
7 default y 7 default y
8 depends on DIO || MACH_DECSTATION || MVME147 || ATARI || SUN3 || \ 8 depends on DIO || MACH_DECSTATION || MVME147 || ATARI || SUN3 || \
9 SUN3X || SBUS || PCI || ZORRO || (ISA && ISA_DMA_API) || \ 9 SUN3X || SBUS || PCI || ZORRO || (ISA && ISA_DMA_API) || \
10 (ARM && ARCH_EBSA110) || ISA || EISA || PCMCIA 10 (ARM && ARCH_EBSA110) || ISA || EISA || PCMCIA || ARM64
11 ---help--- 11 ---help---
12 If you have a network (Ethernet) chipset belonging to this class, 12 If you have a network (Ethernet) chipset belonging to this class,
13 say Y. 13 say Y.
@@ -177,4 +177,16 @@ config SUNLANCE
177 To compile this driver as a module, choose M here: the module 177 To compile this driver as a module, choose M here: the module
178 will be called sunlance. 178 will be called sunlance.
179 179
180config AMD_XGBE
181 tristate "AMD 10GbE Ethernet driver"
182 depends on OF_NET
183 select PHYLIB
184 select AMD_XGBE_PHY
185 ---help---
186 This driver supports the AMD 10GbE Ethernet device found on an
187 AMD SoC.
188
189 To compile this driver as a module, choose M here: the module
190 will be called amd-xgbe.
191
180endif # NET_VENDOR_AMD 192endif # NET_VENDOR_AMD
diff --git a/drivers/net/ethernet/amd/Makefile b/drivers/net/ethernet/amd/Makefile
index cdd4301a973d..a38a2dce3eb3 100644
--- a/drivers/net/ethernet/amd/Makefile
+++ b/drivers/net/ethernet/amd/Makefile
@@ -17,3 +17,4 @@ obj-$(CONFIG_NI65) += ni65.o
17obj-$(CONFIG_PCNET32) += pcnet32.o 17obj-$(CONFIG_PCNET32) += pcnet32.o
18obj-$(CONFIG_SUN3LANCE) += sun3lance.o 18obj-$(CONFIG_SUN3LANCE) += sun3lance.o
19obj-$(CONFIG_SUNLANCE) += sunlance.o 19obj-$(CONFIG_SUNLANCE) += sunlance.o
20obj-$(CONFIG_AMD_XGBE) += xgbe/