aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ipath/ipath_intr.c
diff options
context:
space:
mode:
authorMichael Albaugh <Michael.Albaugh@Qlogic.com>2007-10-02 13:26:45 -0700
committerRoland Dreier <rolandd@cisco.com>2007-10-09 21:00:08 -0700
commit192594d5230f447ef2df8de9d7902ac90d11c118 (patch)
tree8867ed0ba446ac2a9f1c6549cff18fb7a70f0bfc /drivers/infiniband/hw/ipath/ipath_intr.c
parentIB/ipath: Fix QHT7040 serial number check (diff)
downloadlinux-dev-192594d5230f447ef2df8de9d7902ac90d11c118.tar.xz
linux-dev-192594d5230f447ef2df8de9d7902ac90d11c118.zip
IB/ipath: Maintain active time on all chips
There is a count of "active hours" maintained in EEPROM, to aid troubleshooting. The definition of "active" is based on traffic exceeding a threshold in any given 5-second polling interval. As originally written, the check was inadvertently bypassed for chips whose counters were 64-bits wide, and only applied to chips with 32-bit wide counters. This patch moves the test for amount of traffic "out" to a more common location, rather than depending on a side-effect of the software emulation of 64-bit counts on chips whose hardware is only 32-bits wide. Signed-off-by: Michael Albaugh <Michael.Albaugh@Qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_intr.c')
0 files changed, 0 insertions, 0 deletions