diff options
| author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2014-10-30 15:41:25 +0000 |
|---|---|---|
| committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2014-10-30 15:41:25 +0000 |
| commit | f5b416b52dfc022f915ae19d84241c8aa58c4f93 (patch) | |
| tree | f057614bd45d6a34e50a994327f9c54b89655553 /sys/dev/cxgb/ulp | |
| parent | f3ed73a52cb6b2229270f75178af6a86b78624df (diff) | |
Notes
Diffstat (limited to 'sys/dev/cxgb/ulp')
| -rw-r--r-- | sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_provider.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_provider.c b/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_provider.c index 9d6944aa1d7c..64ac36c01c10 100644 --- a/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_provider.c +++ b/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_provider.c @@ -541,7 +541,8 @@ static int iwch_reregister_phys_mem(struct ib_mr *mr, static struct ib_mr *iwch_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, - u64 virt, int acc, struct ib_udata *udata) + u64 virt, int acc, struct ib_udata *udata, + int mr_id) { __be64 *pages; int shift, i, n; @@ -1136,7 +1137,7 @@ int iwch_register_device(struct iwch_dev *dev) dev->ibdev.iwcm->rem_ref = iwch_qp_rem_ref; dev->ibdev.iwcm->get_qp = iwch_get_qp; - ret = ib_register_device(&dev->ibdev); + ret = ib_register_device(&dev->ibdev, NULL); if (ret) goto bail1; |
