aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/qib/qib_iba7322.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_iba7322.c')
-rw-r--r--drivers/infiniband/hw/qib/qib_iba7322.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/infiniband/hw/qib/qib_iba7322.c b/drivers/infiniband/hw/qib/qib_iba7322.c
index 4a2d21e15a7..55de3cf3441 100644
--- a/drivers/infiniband/hw/qib/qib_iba7322.c
+++ b/drivers/infiniband/hw/qib/qib_iba7322.c
@@ -3299,7 +3299,7 @@ static int qib_do_7322_reset(struct qib_devdata *dd)
3299 /* 3299 /*
3300 * Keep chip from being accessed until we are ready. Use 3300 * Keep chip from being accessed until we are ready. Use
3301 * writeq() directly, to allow the write even though QIB_PRESENT 3301 * writeq() directly, to allow the write even though QIB_PRESENT
3302 * isnt' set. 3302 * isn't' set.
3303 */ 3303 */
3304 dd->flags &= ~(QIB_INITTED | QIB_PRESENT | QIB_BADINTR); 3304 dd->flags &= ~(QIB_INITTED | QIB_PRESENT | QIB_BADINTR);
3305 dd->flags |= QIB_DOING_RESET; 3305 dd->flags |= QIB_DOING_RESET;
@@ -3727,7 +3727,7 @@ static int qib_7322_set_ib_cfg(struct qib_pportdata *ppd, int which, u32 val)
3727 /* 3727 /*
3728 * As with width, only write the actual register if the 3728 * As with width, only write the actual register if the
3729 * link is currently down, otherwise takes effect on next 3729 * link is currently down, otherwise takes effect on next
3730 * link change. Since setting is being explictly requested 3730 * link change. Since setting is being explicitly requested
3731 * (via MAD or sysfs), clear autoneg failure status if speed 3731 * (via MAD or sysfs), clear autoneg failure status if speed
3732 * autoneg is enabled. 3732 * autoneg is enabled.
3733 */ 3733 */
@@ -4163,7 +4163,7 @@ static void rcvctrl_7322_mod(struct qib_pportdata *ppd, unsigned int op,
4163 * Init the context registers also; if we were 4163 * Init the context registers also; if we were
4164 * disabled, tail and head should both be zero 4164 * disabled, tail and head should both be zero
4165 * already from the enable, but since we don't 4165 * already from the enable, but since we don't
4166 * know, we have to do it explictly. 4166 * know, we have to do it explicitly.
4167 */ 4167 */
4168 val = qib_read_ureg32(dd, ur_rcvegrindextail, ctxt); 4168 val = qib_read_ureg32(dd, ur_rcvegrindextail, ctxt);
4169 qib_write_ureg(dd, ur_rcvegrindexhead, val, ctxt); 4169 qib_write_ureg(dd, ur_rcvegrindexhead, val, ctxt);
@@ -7483,7 +7483,7 @@ static int serdes_7322_init_new(struct qib_pportdata *ppd)
7483 /* Baseline Wander Correction Gain [13:4-0] (leave as default) */ 7483 /* Baseline Wander Correction Gain [13:4-0] (leave as default) */
7484 /* Baseline Wander Correction Gain [3:7-5] (leave as default) */ 7484 /* Baseline Wander Correction Gain [3:7-5] (leave as default) */
7485 /* Data Rate Select [5:7-6] (leave as default) */ 7485 /* Data Rate Select [5:7-6] (leave as default) */
7486 /* RX Parralel Word Width [3:10-8] (leave as default) */ 7486 /* RX Parallel Word Width [3:10-8] (leave as default) */
7487 7487
7488 /* RX REST */ 7488 /* RX REST */
7489 /* Single- or Multi-channel reset */ 7489 /* Single- or Multi-channel reset */