diff options
Diffstat (limited to 'drivers/infiniband/hw')
-rw-r--r-- | drivers/infiniband/hw/mthca/mthca_cmd.c | 5 | ||||
-rw-r--r-- | drivers/infiniband/hw/mthca/mthca_cmd.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_cmd.c b/drivers/infiniband/hw/mthca/mthca_cmd.c index 244d37c5bf6a..a18468015f38 100644 --- a/drivers/infiniband/hw/mthca/mthca_cmd.c +++ b/drivers/infiniband/hw/mthca/mthca_cmd.c | |||
@@ -1404,6 +1404,11 @@ int mthca_WRITE_MTT(struct mthca_dev *dev, u64 *mtt_entry, | |||
1404 | return err; | 1404 | return err; |
1405 | } | 1405 | } |
1406 | 1406 | ||
1407 | int mthca_SYNC_TPT(struct mthca_dev *dev, u8 *status) | ||
1408 | { | ||
1409 | return mthca_cmd(dev, 0, 0, 0, CMD_SYNC_TPT, CMD_TIME_CLASS_B, status); | ||
1410 | } | ||
1411 | |||
1407 | int mthca_MAP_EQ(struct mthca_dev *dev, u64 event_mask, int unmap, | 1412 | int mthca_MAP_EQ(struct mthca_dev *dev, u64 event_mask, int unmap, |
1408 | int eq_num, u8 *status) | 1413 | int eq_num, u8 *status) |
1409 | { | 1414 | { |
diff --git a/drivers/infiniband/hw/mthca/mthca_cmd.h b/drivers/infiniband/hw/mthca/mthca_cmd.h index a6da34dce8ef..adf039b3c540 100644 --- a/drivers/infiniband/hw/mthca/mthca_cmd.h +++ b/drivers/infiniband/hw/mthca/mthca_cmd.h | |||
@@ -276,6 +276,7 @@ int mthca_HW2SW_MPT(struct mthca_dev *dev, void *mpt_entry, | |||
276 | int mpt_index, u8 *status); | 276 | int mpt_index, u8 *status); |
277 | int mthca_WRITE_MTT(struct mthca_dev *dev, u64 *mtt_entry, | 277 | int mthca_WRITE_MTT(struct mthca_dev *dev, u64 *mtt_entry, |
278 | int num_mtt, u8 *status); | 278 | int num_mtt, u8 *status); |
279 | int mthca_SYNC_TPT(struct mthca_dev *dev, u8 *status); | ||
279 | int mthca_MAP_EQ(struct mthca_dev *dev, u64 event_mask, int unmap, | 280 | int mthca_MAP_EQ(struct mthca_dev *dev, u64 event_mask, int unmap, |
280 | int eq_num, u8 *status); | 281 | int eq_num, u8 *status); |
281 | int mthca_SW2HW_EQ(struct mthca_dev *dev, void *eq_context, | 282 | int mthca_SW2HW_EQ(struct mthca_dev *dev, void *eq_context, |