diff options
author | Andy Grover <andy.grover@oracle.com> | 2009-08-21 14:28:33 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-24 04:13:09 +0200 |
commit | 40d866095df3bb70ded1813f4852cab445ef678b (patch) | |
tree | 681862ddcfe3706eacbacae324c6762e1c1f628c /net/rds/rdma_transport.c | |
parent | RDS: Export symbols from core RDS (diff) | |
download | linux-40d866095df3bb70ded1813f4852cab445ef678b.tar.xz linux-40d866095df3bb70ded1813f4852cab445ef678b.zip |
RDS: Modularize RDMA and TCP transports
Enable the building of transports as modules.
Also, improve consistency of Kconfig messages in relation to other
protocols, and move build dependency on IB from the RDS core code
to the rds_rdma module.
Signed-off-by: Andy Grover <andy.grover@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds/rdma_transport.c')
-rw-r--r-- | net/rds/rdma_transport.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/rds/rdma_transport.c b/net/rds/rdma_transport.c index 7a6c748cb56c..9ece910ea394 100644 --- a/net/rds/rdma_transport.c +++ b/net/rds/rdma_transport.c @@ -203,6 +203,7 @@ err_iw_init: out: return ret; } +module_init(rds_rdma_init); void rds_rdma_exit(void) { @@ -211,4 +212,9 @@ void rds_rdma_exit(void) rds_ib_exit(); rds_iw_exit(); } +module_exit(rds_rdma_exit); + +MODULE_AUTHOR("Oracle Corporation <rds-devel@oss.oracle.com>"); +MODULE_DESCRIPTION("RDS: IB/iWARP transport"); +MODULE_LICENSE("Dual BSD/GPL"); |