* [PATCH RFC 10/10] mlx4_en: Makefile and Kconfig
@ 2008-07-14 14:42 Yevgeny Petrilin
2008-07-15 3:27 ` Bill Fink
0 siblings, 1 reply; 2+ messages in thread
From: Yevgeny Petrilin @ 2008-07-14 14:42 UTC (permalink / raw)
To: jeff; +Cc: netdev, Liran Liss, tziporet, Roland Dreier
Changed Makefile and Kconfig files to enable mlx4_en compilation.
Signed-off-by: Liran Liss <liranl@mellanox.co.il>
Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
---
drivers/net/Kconfig | 9 +++++++++
drivers/net/mlx4/Makefile | 5 +++++
2 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index f4182cf..4aaa7e9 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -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
diff --git a/drivers/net/mlx4/Makefile b/drivers/net/mlx4/Makefile
index 3f71687..16ffb1a 100644
--- a/drivers/net/mlx4/Makefile
+++ b/drivers/net/mlx4/Makefile
@@ -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
--
1.5.3.7
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH RFC 10/10] mlx4_en: Makefile and Kconfig
2008-07-14 14:42 [PATCH RFC 10/10] mlx4_en: Makefile and Kconfig Yevgeny Petrilin
@ 2008-07-15 3:27 ` Bill Fink
0 siblings, 0 replies; 2+ messages in thread
From: Bill Fink @ 2008-07-15 3:27 UTC (permalink / raw)
To: Yevgeny Petrilin; +Cc: jeff, netdev, Liran Liss, tziporet, Roland Dreier
On Mon, 14 Jul 2008, Yevgeny Petrilin wrote:
> Changed Makefile and Kconfig files to enable mlx4_en compilation.
>
> Signed-off-by: Liran Liss <liranl@mellanox.co.il>
> Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
> ---
> drivers/net/Kconfig | 9 +++++++++
> drivers/net/mlx4/Makefile | 5 +++++
> 2 files changed, 14 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
> index f4182cf..4aaa7e9 100644
> --- a/drivers/net/Kconfig
> +++ b/drivers/net/Kconfig
> @@ -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
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-07-15 3:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-14 14:42 [PATCH RFC 10/10] mlx4_en: Makefile and Kconfig Yevgeny Petrilin
2008-07-15 3:27 ` Bill Fink
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).