mlx4_en: Makefile and Kconfig
Subsystems (2)
RFC PATCH 10/10 mlx4_en: Makefile and Kconfig
Changed Makefile and Kconfig files to enable mlx4_en compilation.
Signed-off-by Liran Liss <[email protected]>
Signed-off-by Yevgeny Petrilin <[email protected]>
--- drivers/net/Kconfig | 9 +++++++++ drivers/net/mlx4/Makefile | 5 +++++ 2 files changed, 14 insertions(+), 0 deletions(-)
drivers/net/Kconfig +9 -0
@@ -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
@@ -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
Quoted 19 lines · Yevgeny Petrilin
Changed
MakefileandKconfigfiles to enablemlx4_encompilation.Signed-off-by Liran Liss <[email protected]>Signed-off-by Yevgeny Petrilin <[email protected]>--- drivers/net/Kconfig | 9 +++++++++ drivers/net/mlx4/Makefile | 5 +++++ 2 files changed, 14 insertions(+), 0 deletions(-)drivers/net/Kconfig +2
-0@@ -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