Skip to contentSkip to conversation

mlx4_en: Makefile and Kconfig

RFC PATCH Superseded Yevgeny Petrilin 2 participants 2 messages Jul 14, 2008 – Jul 15, 2008

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

RFC PATCH 10/10 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 f4182cf..4aaa7e9 100644
@@ -2549,6 +2549,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
+	select MLX4_CORE
+	select INET_LRO
+	help
+	  This driver supports Mellanox Technollogies 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.3.7
#1 lore raw
Quoted 19 lines · Yevgeny Petrilin

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 +2 -0
index f4182cf..4aaa7e9 100644
@@ -2549,6 +2549,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"

drivers/net/Kconfig config PASEMI_MAC · line 2563

Quoted 10 lines
drivers/net/Kconfig +7 -0
+	depends on PCI
+	select MLX4_CORE
+	select INET_LRO
+	help
+	  This driver supports Mellanox Technollogies ConnectX Ethernet
+	  devices.
+
 config MLX4_CORE
 	tristate
 	depends on PCI

To prevent certain build failures, when you "select INET_LRO" you also need to add a depends on INET, so the above "depends on PCI" needs to be changed to:

	depends on PCI && INET

						-Bill