diff options
author | Dave Olson <dave.olson@qlogic.com> | 2007-07-20 14:23:37 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-07-30 13:16:46 -0700 |
commit | 3810f2a84e994e295e181eb9bd4b8007f611b5eb (patch) | |
tree | 22277befd8124b3386d2e35addb04f75ba06c23c /drivers/infiniband/hw/ipath/ipath_kernel.h | |
parent | IB/ipath: Use faster put_tid_2 routine after initialization (diff) | |
download | linux-dev-3810f2a84e994e295e181eb9bd4b8007f611b5eb.tar.xz linux-dev-3810f2a84e994e295e181eb9bd4b8007f611b5eb.zip |
IB/ipath: Fix some issues with buffer cancel and sendctrl register update
There was confused use of INFINIPATH_S_PIOBUFAVAILUPD (value) and
IPATH_S_PIOBUFAVAILUPD (bit position). Also, some callers of
ipath_cancel_sends() need kr_sendctrl restored, and some want to do it
later.
Signed-off-by: Dave Olson <dave.olson@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_kernel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_kernel.h b/drivers/infiniband/hw/ipath/ipath_kernel.h index ace63ef78e6f..ef773298b805 100644 --- a/drivers/infiniband/hw/ipath/ipath_kernel.h +++ b/drivers/infiniband/hw/ipath/ipath_kernel.h @@ -683,7 +683,7 @@ int ipath_unordered_wc(void); void ipath_disarm_piobufs(struct ipath_devdata *, unsigned first, unsigned cnt); -void ipath_cancel_sends(struct ipath_devdata *); +void ipath_cancel_sends(struct ipath_devdata *, int); int ipath_create_rcvhdrq(struct ipath_devdata *, struct ipath_portdata *); void ipath_free_pddata(struct ipath_devdata *, struct ipath_portdata *); |