diff options
author | Andy Grover <andy.grover@oracle.com> | 2009-08-21 12:28:33 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-23 19:13:09 -0700 |
commit | 40d866095df3bb70ded1813f4852cab445ef678b (patch) | |
tree | 681862ddcfe3706eacbacae324c6762e1c1f628c /net/rds/rdma_transport.c | |
parent | 616b757ae18fb8ec2dfe7ff9d3f589f82cb0eb9d (diff) | |
download | op-kernel-dev-40d866095df3bb70ded1813f4852cab445ef678b.zip op-kernel-dev-40d866095df3bb70ded1813f4852cab445ef678b.tar.gz |
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 7a6c748..9ece910 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"); |