Add mlx4 to build process
authorXiao Jia <stfairy@gmail.com>
Fri, 26 Jun 2015 00:12:04 +0000 (17:12 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 23 Sep 2015 17:49:29 +0000 (13:49 -0400)
kern/drivers/net/Kbuild
kern/drivers/net/Kconfig

index 3d0a90d..4901efb 100644 (file)
@@ -1,6 +1,7 @@
 # need at least one obj file to build for Kbuild
 obj-y                                                  += dummy.o
 obj-$(CONFIG_BNX2X)                            += bnx2x/
+obj-$(CONFIG_MLX4_CORE)                                        += mlx4/
 obj-y                                                  += ether8139.o
 obj-y                                                  += ether8169.o
 obj-y                                                  += ether82563.o
index 2428181..47b5869 100644 (file)
@@ -11,3 +11,14 @@ config BNX2X_SRIOV
        default n
        help
                BNX2X support for SR-IOV (I/O virtualization).
+
+config MLX4_EN
+       tristate "Mellanox Technologies 1/10/40Gbit Ethernet support"
+       select MLX4_CORE
+       help
+               This driver supports Mellanox Technologies ConnectX Ethernet
+               devices.
+
+config MLX4_CORE
+       tristate
+       default n