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>
This commit is contained in:
Ralph Campbell 2008-01-06 21:12:38 -08:00 committed by Roland Dreier
commit 4ea61b548b
5 changed files with 10 additions and 16 deletions