]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
amd-xgbe: Configuration and build support
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Thu, 5 Jun 2014 14:15:18 +0000 (09:15 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jun 2014 22:26:51 +0000 (15:26 -0700)
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>
drivers/net/ethernet/amd/Kconfig
drivers/net/ethernet/amd/Makefile
drivers/net/phy/Kconfig
drivers/net/phy/Makefile

index 562df46e0a82e24968b8b89bc35a7b357982e6ec..bbaf36d9f5e1cfbb7649ec13d5eb00595543a5b4 100644 (file)
@@ -7,7 +7,7 @@ config NET_VENDOR_AMD
        default y
        depends on DIO || MACH_DECSTATION || MVME147 || ATARI || SUN3 || \
                   SUN3X || SBUS || PCI || ZORRO || (ISA && ISA_DMA_API) || \
-                  (ARM && ARCH_EBSA110) || ISA || EISA || PCMCIA
+                  (ARM && ARCH_EBSA110) || ISA || EISA || PCMCIA || ARM64
        ---help---
          If you have a network (Ethernet) chipset belonging to this class,
          say Y.
@@ -177,4 +177,16 @@ config SUNLANCE
          To compile this driver as a module, choose M here: the module
          will be called sunlance.
 
+config AMD_XGBE
+       tristate "AMD 10GbE Ethernet driver"
+       depends on OF_NET
+       select PHYLIB
+       select AMD_XGBE_PHY
+       ---help---
+         This driver supports the AMD 10GbE Ethernet device found on an
+         AMD SoC.
+
+         To compile this driver as a module, choose M here: the module
+         will be called amd-xgbe.
+
 endif # NET_VENDOR_AMD
index cdd4301a973dc388a6d7f1d2a7ed5325f87d6e6b..a38a2dce3eb329ecceabe2b0d560160d009e527c 100644 (file)
@@ -17,3 +17,4 @@ obj-$(CONFIG_NI65) += ni65.o
 obj-$(CONFIG_PCNET32) += pcnet32.o
 obj-$(CONFIG_SUN3LANCE) += sun3lance.o
 obj-$(CONFIG_SUNLANCE) += sunlance.o
+obj-$(CONFIG_AMD_XGBE) += xgbe/
index 6a17f92153b31b3b2fe95a5d7e087eeb3373032b..65de0cab8d07795c5c2255d7397a95e3720477fc 100644 (file)
@@ -24,6 +24,12 @@ config AMD_PHY
        ---help---
          Currently supports the am79c874
 
+config AMD_XGBE_PHY
+       tristate "Driver for the AMD 10GbE (amd-xgbe) PHYs"
+       depends on OF
+       ---help---
+         Currently supports the AMD 10GbE PHY
+
 config MARVELL_PHY
        tristate "Drivers for Marvell PHYs"
        ---help---
index 07d24024863e0805af4127c72e4663174a47babb..7dc3d5b304cfc250a2618e096abecf428ed05bad 100644 (file)
@@ -33,3 +33,4 @@ obj-$(CONFIG_MDIO_BUS_MUX_GPIO)       += mdio-mux-gpio.o
 obj-$(CONFIG_MDIO_BUS_MUX_MMIOREG) += mdio-mux-mmioreg.o
 obj-$(CONFIG_MDIO_SUN4I)       += mdio-sun4i.o
 obj-$(CONFIG_MDIO_MOXART)      += mdio-moxart.o
+obj-$(CONFIG_AMD_XGBE_PHY)     += amd-xgbe-phy.o