diff options
author | Michael S. Tsirkin <mst@mellanox.co.il> | 2005-04-16 18:26:28 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:26:28 -0400 |
commit | b8ca06f674ab5d7853d7de892c09bdc4c1bfb069 (patch) | |
tree | 6215a5c73db4a7e09df62d02a340938d0bff498c /drivers/infiniband/hw/mthca/mthca_cmd.c | |
parent | ef416a33acbd2d68a58ea1ffdc13c674e53bc78f (diff) |
[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 <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <roland@topspin.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_cmd.c')
-rw-r--r-- | drivers/infiniband/hw/mthca/mthca_cmd.c | 5 |
1 files changed, 5 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 | { |