diff options
author | Dave Olson <dave.olson@qlogic.com> | 2008-04-17 00:01:12 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-04-17 00:01:12 -0400 |
commit | f2ceb4929ab543e54efaadcad215a105df684f36 (patch) | |
tree | 8bbfdfe53c55544080279dec08d9ef8067986097 /drivers/infiniband/hw/ipath/ipath_registers.h | |
parent | 3dd59e226e01ddb5b041eb0b2e7c7f28b1f730c9 (diff) |
IB/ipath: Make some constants chip-specific, related cleanup
This patch makes some constants chip-specific, and makes some related
changes to prepare for supporting another HCA.
Signed-off-by: Dave Olson <dave.olson@qlogic.com
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_registers.h')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_registers.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_registers.h b/drivers/infiniband/hw/ipath/ipath_registers.h index 92ad73a7fff..cb19ea26083 100644 --- a/drivers/infiniband/hw/ipath/ipath_registers.h +++ b/drivers/infiniband/hw/ipath/ipath_registers.h | |||
@@ -63,7 +63,6 @@ | |||
63 | /* kr_control bits */ | 63 | /* kr_control bits */ |
64 | #define INFINIPATH_C_FREEZEMODE 0x00000002 | 64 | #define INFINIPATH_C_FREEZEMODE 0x00000002 |
65 | #define INFINIPATH_C_LINKENABLE 0x00000004 | 65 | #define INFINIPATH_C_LINKENABLE 0x00000004 |
66 | #define INFINIPATH_C_RESET 0x00000001 | ||
67 | 66 | ||
68 | /* kr_sendctrl bits */ | 67 | /* kr_sendctrl bits */ |
69 | #define INFINIPATH_S_DISARMPIOBUF_SHIFT 16 | 68 | #define INFINIPATH_S_DISARMPIOBUF_SHIFT 16 |
@@ -287,7 +286,6 @@ | |||
287 | #define INFINIPATH_SERDC0_L1PWR_DN 0xF0ULL | 286 | #define INFINIPATH_SERDC0_L1PWR_DN 0xF0ULL |
288 | 287 | ||
289 | /* kr_xgxsconfig bits */ | 288 | /* kr_xgxsconfig bits */ |
290 | #define INFINIPATH_XGXS_RESET 0x7ULL | ||
291 | #define INFINIPATH_XGXS_RX_POL_SHIFT 19 | 289 | #define INFINIPATH_XGXS_RX_POL_SHIFT 19 |
292 | #define INFINIPATH_XGXS_RX_POL_MASK 0xfULL | 290 | #define INFINIPATH_XGXS_RX_POL_MASK 0xfULL |
293 | 291 | ||