IB/ipath: Add flag and handling for chips with swapped register bug
authorRalph Campbell <ralph.campbell@qlogic.com>
Mon, 7 Jan 2008 05:12:38 +0000 (21:12 -0800)
committerRoland Dreier <rolandd@cisco.com>
Fri, 25 Jan 2008 22:15:39 +0000 (14:15 -0800)
commit4ea61b548bc93fb87cec6f52059851076e2ff54d
treeb48ddf0865c393b2245dbb131098901f6cc3f318
parent60948a415859cb859e24f0dfe739069d66577466
IB/ipath: Add flag and handling for chips with swapped register bug

The 6110 had a bug that caused some registers to be swapped; it was
fixed for the 7220 (and didn't affect the 6120 because it had fewer
registers).  This adds a flag and related code to handle that, and
includes some minor cleanups in the same area.

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
drivers/infiniband/hw/ipath/ipath_driver.c
drivers/infiniband/hw/ipath/ipath_iba6110.c
drivers/infiniband/hw/ipath/ipath_init_chip.c
drivers/infiniband/hw/ipath/ipath_intr.c
drivers/infiniband/hw/ipath/ipath_kernel.h