IB/ipath: iba6110 rev4 GPIO counters support
authorArthur Jones <arthur.jones@qlogic.com>
Thu, 2 Aug 2007 21:46:29 +0000 (14:46 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 10 Oct 2007 03:02:46 +0000 (20:02 -0700)
commit327a338d4fd018d33e7cacde46c0d82622b4bda8
tree813d439197f63ff8b9512325afd8462c7853739e
parent76dea3bc2644e99cce1d98d0bbd3124314e5b50a
IB/ipath: iba6110 rev4 GPIO counters support

On iba6110 rev4, support for three more IB counters were added.  The
LocalLinkIntegrityError counter, the ExcessiveBufferOverrunErrors
counter and support for error counting of flow control packets on an
invalid VL.  These counters trigger GPIO interrupts and the sw keeps
track of the counts.  Since we also use GPIO interrupts to signal packet
reception, we need to turn off the fast interrupts, or we risk losing a
GPIO interrupt.

Signed-off-by: Arthur Jones <arthur.jones@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_iba6110.c
drivers/infiniband/hw/ipath/ipath_intr.c