Skip to contentSkip to conversation

mlx4_en: Makefile and Kconfig

RFC PATCH In review Yevgeny Petrilin 1 participant 1 message Aug 20, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

RFC PATCH v2 10/10 mlx4_en: Makefile and Kconfig

From: Yevgeny Petrilin <[email protected]>
Date: Thu, 10 Jul 2008 12:02:51 +0300
Subject: [PATCH] mlx4_en: Makefile and Kconfig

Changed Makefile and Kconfig files to enable mlx4_en compilation.

---
 drivers/net/Kconfig       |    9 +++++++++
 drivers/net/mlx4/Makefile |    5 +++++
 2 files changed, 14 insertions(+), 0 deletions(-)
drivers/net/Kconfig +9 -0
index fa533c2..1dbbc1e 100644
@@ -2464,6 +2464,15 @@ config PASEMI_MAC
 	  This driver supports the on-chip 1/10Gbit Ethernet controller on
 	  PA Semi's PWRficient line of chips.
 
+config MLX4_EN
+	tristate "Mellanox Technologies 10Gbit Ethernet support"
+	depends on PCI && INET
+	select MLX4_CORE
+	select INET_LRO
+	help
+	  This driver supports Mellanox Technologies ConnectX Ethernet
+	  devices.
+
 config MLX4_CORE
 	tristate
 	depends on PCI
drivers/net/mlx4/Makefile +5 -0
index 3f71687..16ffb1a 100644
@@ -2,3 +2,8 @@ obj-$(CONFIG_MLX4_CORE)		+= mlx4_core.o
 
 mlx4_core-y :=	alloc.o catas.o cmd.o cq.o eq.o fw.o icm.o intf.o main.o mcg.o \
 		mr.o pd.o profile.o qp.o reset.o srq.o port.o sense.o
+
+obj-$(CONFIG_MLX4_EN)               += mlx4_en.o
+
+mlx4_en-y := 	en_main.o en_tx.o en_rx.o en_params.o en_port.o en_cq.o \
+		en_resources.o en_netdev.o
Signature · 1 line
1.5.4