IB/ipath: Fix some issues with buffer cancel and sendctrl register update
authorDave Olson <dave.olson@qlogic.com>
Fri, 20 Jul 2007 21:23:37 +0000 (14:23 -0700)
committerRoland Dreier <rolandd@cisco.com>
Mon, 30 Jul 2007 20:16:46 +0000 (13:16 -0700)
commit3810f2a84e994e295e181eb9bd4b8007f611b5eb
tree22277befd8124b3386d2e35addb04f75ba06c23c
parentcf5b60aa4098a1ba169a8f69eb576ac02194bea6
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>
drivers/infiniband/hw/ipath/ipath_driver.c
drivers/infiniband/hw/ipath/ipath_init_chip.c
drivers/infiniband/hw/ipath/ipath_intr.c
drivers/infiniband/hw/ipath/ipath_kernel.h