IB/ipath: Changes to support PIO bandwidth check on IBA7220
authorDave Olson <dave.olson@qlogic.com>
Thu, 9 Aug 2007 10:11:38 +0000 (03:11 -0700)
committerRoland Dreier <rolandd@cisco.com>
Fri, 25 Jan 2008 22:17:43 +0000 (14:17 -0800)
commit6ac50727bda29e961385e4c40318dadbb5730193
tree522ff1a220c817d4ed00e1311e4cf23b24952b50
parentddb70c83a5ce439271f1699e52a97785a8b45b81
IB/ipath: Changes to support PIO bandwidth check on IBA7220

The IBA7220 uses a count-based triggering mechanism, and therefore
can't use the same bandwidth verification mechanism as older chips.

To support the 7220, allow enabling and disabling armlaunch errors on
application request.  Minor robustness improvements as well.

Signed-off-by: Dave Olson <dave.olson@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_common.h
drivers/infiniband/hw/ipath/ipath_driver.c
drivers/infiniband/hw/ipath/ipath_file_ops.c
drivers/infiniband/hw/ipath/ipath_kernel.h