diff options
author | Ralph Campbell <ralph.campbell@qlogic.com> | 2008-01-07 00:12:38 -0500 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-01-25 17:15:39 -0500 |
commit | 4ea61b548bc93fb87cec6f52059851076e2ff54d (patch) | |
tree | b48ddf0865c393b2245dbb131098901f6cc3f318 /drivers/infiniband/hw/ipath/ipath_kernel.h | |
parent | 60948a415859cb859e24f0dfe739069d66577466 (diff) |
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>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_kernel.h')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_kernel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_kernel.h b/drivers/infiniband/hw/ipath/ipath_kernel.h index b9cca8403239..e07df0068312 100644 --- a/drivers/infiniband/hw/ipath/ipath_kernel.h +++ b/drivers/infiniband/hw/ipath/ipath_kernel.h | |||
@@ -756,6 +756,7 @@ int ipath_set_rx_pol_inv(struct ipath_devdata *dd, u8 new_pol_inv); | |||
756 | #define IPATH_DISABLED 0x80000 /* administratively disabled */ | 756 | #define IPATH_DISABLED 0x80000 /* administratively disabled */ |
757 | /* Use GPIO interrupts for new counters */ | 757 | /* Use GPIO interrupts for new counters */ |
758 | #define IPATH_GPIO_ERRINTRS 0x100000 | 758 | #define IPATH_GPIO_ERRINTRS 0x100000 |
759 | #define IPATH_SWAP_PIOBUFS 0x200000 | ||
759 | 760 | ||
760 | /* Bits in GPIO for the added interrupts */ | 761 | /* Bits in GPIO for the added interrupts */ |
761 | #define IPATH_GPIO_PORT0_BIT 2 | 762 | #define IPATH_GPIO_PORT0_BIT 2 |