diff options
| author | Randy Dunlap <randy.dunlap@oracle.com> | 2008-11-12 06:05:17 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2008-11-13 02:33:57 -0500 |
| commit | 1fa989e80a9a104bf3b81842a5f4c1867d7aa9c4 (patch) | |
| tree | ba93b3290e87e302e295f6bd981f159127a36ee5 | |
| parent | 9c0188acf6dd6990bac9cd906cd554a1476c6d12 (diff) | |
9p: restrict RDMA usage
Make 9p's RDMA option depend on INET since it uses Infiniband rdma_*
functions and that code depends on INET. Otherwise 9p can try to
use symbols which don't exist.
ERROR: "rdma_destroy_id" [net/9p/9pnet_rdma.ko] undefined!
ERROR: "rdma_connect" [net/9p/9pnet_rdma.ko] undefined!
ERROR: "rdma_create_id" [net/9p/9pnet_rdma.ko] undefined!
ERROR: "rdma_create_qp" [net/9p/9pnet_rdma.ko] undefined!
ERROR: "rdma_resolve_route" [net/9p/9pnet_rdma.ko] undefined!
ERROR: "rdma_disconnect" [net/9p/9pnet_rdma.ko] undefined!
ERROR: "rdma_resolve_addr" [net/9p/9pnet_rdma.ko] undefined!
I used an if/endif block so that the menu items would remain
presented together.
Also correct an article adjective.
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
| -rw-r--r-- | net/9p/Kconfig | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/net/9p/Kconfig b/net/9p/Kconfig index c42c0c400bf9..0663f99e977a 100644 --- a/net/9p/Kconfig +++ b/net/9p/Kconfig | |||
| @@ -13,22 +13,24 @@ menuconfig NET_9P | |||
| 13 | 13 | ||
| 14 | If unsure, say N. | 14 | If unsure, say N. |
| 15 | 15 | ||
| 16 | if NET_9P | ||
| 17 | |||
| 16 | config NET_9P_VIRTIO | 18 | config NET_9P_VIRTIO |
| 17 | depends on NET_9P && EXPERIMENTAL && VIRTIO | 19 | depends on EXPERIMENTAL && VIRTIO |
| 18 | tristate "9P Virtio Transport (Experimental)" | 20 | tristate "9P Virtio Transport (Experimental)" |
| 19 | help | 21 | help |
| 20 | This builds support for a transports between | 22 | This builds support for a transports between |
| 21 | guest partitions and a host partition. | 23 | guest partitions and a host partition. |
| 22 | 24 | ||
| 23 | config NET_9P_RDMA | 25 | config NET_9P_RDMA |
| 24 | depends on NET_9P && INFINIBAND && EXPERIMENTAL | 26 | depends on INET && INFINIBAND && EXPERIMENTAL |
| 25 | tristate "9P RDMA Transport (Experimental)" | 27 | tristate "9P RDMA Transport (Experimental)" |
| 26 | help | 28 | help |
| 27 | This builds support for a RDMA transport. | 29 | This builds support for an RDMA transport. |
| 28 | 30 | ||
| 29 | config NET_9P_DEBUG | 31 | config NET_9P_DEBUG |
| 30 | bool "Debug information" | 32 | bool "Debug information" |
| 31 | depends on NET_9P | ||
| 32 | help | 33 | help |
| 33 | Say Y if you want the 9P subsystem to log debug information. | 34 | Say Y if you want the 9P subsystem to log debug information. |
| 34 | 35 | ||
| 36 | endif | ||
