rds: fix iband RDMA dependencies
authorRandy Dunlap <randy.dunlap@oracle.com>
Wed, 4 Mar 2009 05:39:40 +0000 (21:39 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Mar 2009 05:39:40 +0000 (21:39 -0800)
Fix RDS Infiniband dependencies for RDMA so that these
build errors won't happen:

ERROR: "rdma_accept" [net/rds/rds.ko] undefined!
ERROR: "rdma_destroy_id" [net/rds/rds.ko] undefined!
ERROR: "rdma_connect" [net/rds/rds.ko] undefined!
ERROR: "rdma_destroy_qp" [net/rds/rds.ko] undefined!
ERROR: "rdma_listen" [net/rds/rds.ko] undefined!
ERROR: "rdma_notify" [net/rds/rds.ko] undefined!
ERROR: "rdma_create_id" [net/rds/rds.ko] undefined!
ERROR: "rdma_create_qp" [net/rds/rds.ko] undefined!
ERROR: "rdma_bind_addr" [net/rds/rds.ko] undefined!
ERROR: "rdma_resolve_route" [net/rds/rds.ko] undefined!
ERROR: "rdma_disconnect" [net/rds/rds.ko] undefined!
ERROR: "rdma_reject" [net/rds/rds.ko] undefined!
ERROR: "rdma_resolve_addr" [net/rds/rds.ko] undefined!

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Andy Grover <andy.grover@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/Kconfig

index 63bd370ab6eedc825370fc0427aa3d271ee6a09c..796773b5df9b819c1bf33f90654556187264fe9d 100644 (file)
@@ -2,6 +2,7 @@
 config RDS
        tristate "Reliable Datagram Sockets (RDS) (EXPERIMENTAL)"
        depends on INET && INFINIBAND_IPOIB && EXPERIMENTAL
+       depends on INFINIBAND && INFINIBAND_ADDR_TRANS
        ---help---
          RDS provides reliable, sequenced delivery of datagrams
          over Infiniband.