diff options
author | Roland Dreier <rolandd@cisco.com> | 2005-07-07 20:57:14 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-07 21:23:48 -0400 |
commit | 2d927d696c088ceb22c776e1e89937dc289d4078 (patch) | |
tree | e2b0d444aa785ebc1ee43bc13b9ae93e12a9bec6 /drivers/infiniband | |
parent | eb8ffbfed50e7945c024a80e3688d5beffa3b641 (diff) |
[PATCH] IB uverbs: hook up Kconfig/Makefile
Hook up InfiniBand userspace verbs to Kconfig and the make system.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/Kconfig | 10 | ||||
-rw-r--r-- | drivers/infiniband/core/Makefile | 5 |
2 files changed, 14 insertions, 1 deletions
diff --git a/drivers/infiniband/Kconfig b/drivers/infiniband/Kconfig index 3cc3ff0cccb1..79c8e2dd9c33 100644 --- a/drivers/infiniband/Kconfig +++ b/drivers/infiniband/Kconfig | |||
@@ -7,6 +7,16 @@ config INFINIBAND | |||
7 | any protocols you wish to use as well as drivers for your | 7 | any protocols you wish to use as well as drivers for your |
8 | InfiniBand hardware. | 8 | InfiniBand hardware. |
9 | 9 | ||
10 | config INFINIBAND_USER_VERBS | ||
11 | tristate "InfiniBand userspace verbs support" | ||
12 | depends on INFINIBAND | ||
13 | ---help--- | ||
14 | Userspace InfiniBand verbs support. This is the kernel side | ||
15 | of userspace verbs, which allows userspace processes to | ||
16 | directly access InfiniBand hardware for fast-path | ||
17 | operations. You will also need libibverbs and a hardware | ||
18 | driver library from <http://www.openib.org>. | ||
19 | |||
10 | source "drivers/infiniband/hw/mthca/Kconfig" | 20 | source "drivers/infiniband/hw/mthca/Kconfig" |
11 | 21 | ||
12 | source "drivers/infiniband/ulp/ipoib/Kconfig" | 22 | source "drivers/infiniband/ulp/ipoib/Kconfig" |
diff --git a/drivers/infiniband/core/Makefile b/drivers/infiniband/core/Makefile index d2dbfb52c0a3..e1a7cf3e8636 100644 --- a/drivers/infiniband/core/Makefile +++ b/drivers/infiniband/core/Makefile | |||
@@ -1,6 +1,7 @@ | |||
1 | EXTRA_CFLAGS += -Idrivers/infiniband/include | 1 | EXTRA_CFLAGS += -Idrivers/infiniband/include |
2 | 2 | ||
3 | obj-$(CONFIG_INFINIBAND) += ib_core.o ib_mad.o ib_sa.o ib_umad.o | 3 | obj-$(CONFIG_INFINIBAND) += ib_core.o ib_mad.o ib_sa.o ib_umad.o |
4 | obj-$(CONFIG_INFINIBAND_USER_VERBS) += ib_uverbs.o | ||
4 | 5 | ||
5 | ib_core-y := packer.o ud_header.o verbs.o sysfs.o \ | 6 | ib_core-y := packer.o ud_header.o verbs.o sysfs.o \ |
6 | device.o fmr_pool.o cache.o | 7 | device.o fmr_pool.o cache.o |
@@ -10,3 +11,5 @@ ib_mad-y := mad.o smi.o agent.o | |||
10 | ib_sa-y := sa_query.o | 11 | ib_sa-y := sa_query.o |
11 | 12 | ||
12 | ib_umad-y := user_mad.o | 13 | ib_umad-y := user_mad.o |
14 | |||
15 | ib_uverbs-y := uverbs_main.o uverbs_cmd.o uverbs_mem.o | ||