]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
IB/ipath: Add ipath_read_ireg() abstraction
authorArthur Jones <arthur.jones@qlogic.com>
Mon, 7 Jan 2008 05:12:38 +0000 (21:12 -0800)
committerRoland Dreier <rolandd@cisco.com>
Fri, 25 Jan 2008 22:15:40 +0000 (14:15 -0800)
commit7da0498e7f0eb022107811b9d41697298329f6b4
tree935cd0b8069561de4bb12b0a10eb254b0b9cf7f8
parent4ea61b548bc93fb87cec6f52059851076e2ff54d
IB/ipath: Add ipath_read_ireg() abstraction

Different chips have different width interrupt status registers, so add
a flag and accessor function to decide which width register read to use.

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