Hook userspace verbs up to Kconfig and Makefile.

Signed-off-by: Roland Dreier <[EMAIL PROTECTED]>

--- linux-export.orig/drivers/infiniband/Kconfig        2005-04-04 
14:58:53.397756926 -0700
+++ linux-export/drivers/infiniband/Kconfig     2005-04-04 15:01:08.716332258 
-0700
@@ -7,6 +7,14 @@
          any protocols you wish to use as well as drivers for your
          InfiniBand hardware.
 
+config INFINIBAND_USER_VERBS
+       tristate "InfiniBand userspace verbs support"
+       depends on INFINIBAND
+       ---help---
+         Userspace InfiniBand verbs support.  This is the kernel side
+         of userspace verbs.  You will also need libibverbs and a
+         hardware driver library from <http://www.openib.org>.
+
 source "drivers/infiniband/hw/mthca/Kconfig"
 
 source "drivers/infiniband/ulp/ipoib/Kconfig"
--- linux-export.orig/drivers/infiniband/core/Makefile  2005-04-04 
14:58:53.398756709 -0700
+++ linux-export/drivers/infiniband/core/Makefile       2005-04-04 
15:00:44.933503748 -0700
@@ -1,7 +1,8 @@
 EXTRA_CFLAGS += -Idrivers/infiniband/include
 
-obj-$(CONFIG_INFINIBAND) +=    ib_core.o ib_mad.o ib_ping.o \
-                               ib_cm.o ib_sa.o ib_umad.o ib_ucm.o
+obj-$(CONFIG_INFINIBAND) +=            ib_core.o ib_mad.o ib_ping.o \
+                                       ib_cm.o ib_sa.o ib_umad.o ib_ucm.o
+obj-$(CONFIG_INFINIBAND_USER_VERBS) += ib_uverbs.o
 
 ib_core-y :=                   packer.o ud_header.o verbs.o sysfs.o \
                                device.o fmr_pool.o cache.o
@@ -16,4 +17,6 @@
 
 ib_umad-y :=                   user_mad.o
 
+ib_uverbs-y :=                 uverbs_main.o uverbs_cmd.o uverbs_mem.o
+
 ib_ucm-y :=                    ucm.o

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to