tree 6215a5c73db4a7e09df62d02a340938d0bff498c
parent ef416a33acbd2d68a58ea1ffdc13c674e53bc78f
author Michael S. Tsirkin <[EMAIL PROTECTED]> Sun, 17 Apr 2005 05:26:28 -0700
committer Linus Torvalds <[EMAIL PROTECTED]> Sun, 17 Apr 2005 05:26:28 -0700
[PATCH] IB/mthca: add SYNC_TPT firmware command
Add code for SYNC_TPT firmware command, which will be used by FMR
implementation.
Signed-off-by: Michael S. Tsirkin <[EMAIL PROTECTED]>
Signed-off-by: Roland Dreier <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
infiniband/hw/mthca/mthca_cmd.c | 5 +++++
infiniband/hw/mthca/mthca_cmd.h | 1 +
2 files changed, 6 insertions(+)
Index: drivers/infiniband/hw/mthca/mthca_cmd.c
===================================================================
---
4029b8cd92b9e8a24a313f07230aa5bda51a746c/drivers/infiniband/hw/mthca/mthca_cmd.c
(mode:100644 sha1:244d37c5bf6a45074d54033193d7eff60ec90108)
+++
6215a5c73db4a7e09df62d02a340938d0bff498c/drivers/infiniband/hw/mthca/mthca_cmd.c
(mode:100644 sha1:a18468015f38ccf0adc53286b99c42fb7f9dbc15)
@@ -1404,6 +1404,11 @@
return err;
}
+int mthca_SYNC_TPT(struct mthca_dev *dev, u8 *status)
+{
+ return mthca_cmd(dev, 0, 0, 0, CMD_SYNC_TPT, CMD_TIME_CLASS_B, status);
+}
+
int mthca_MAP_EQ(struct mthca_dev *dev, u64 event_mask, int unmap,
int eq_num, u8 *status)
{
Index: drivers/infiniband/hw/mthca/mthca_cmd.h
===================================================================
---
4029b8cd92b9e8a24a313f07230aa5bda51a746c/drivers/infiniband/hw/mthca/mthca_cmd.h
(mode:100644 sha1:a6da34dce8ef8f2ff011948f9b64f2dbe14f5343)
+++
6215a5c73db4a7e09df62d02a340938d0bff498c/drivers/infiniband/hw/mthca/mthca_cmd.h
(mode:100644 sha1:adf039b3c54036703de251c4e25bf2e284589932)
@@ -276,6 +276,7 @@
int mpt_index, u8 *status);
int mthca_WRITE_MTT(struct mthca_dev *dev, u64 *mtt_entry,
int num_mtt, u8 *status);
+int mthca_SYNC_TPT(struct mthca_dev *dev, u8 *status);
int mthca_MAP_EQ(struct mthca_dev *dev, u64 event_mask, int unmap,
int eq_num, u8 *status);
int mthca_SW2HW_EQ(struct mthca_dev *dev, void *eq_context,
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html