aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ipath/ipath_init_chip.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_init_chip.c')
-rw-r--r--drivers/infiniband/hw/ipath/ipath_init_chip.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_init_chip.c b/drivers/infiniband/hw/ipath/ipath_init_chip.c
index e161cad21a19..cf64d3855ff5 100644
--- a/drivers/infiniband/hw/ipath/ipath_init_chip.c
+++ b/drivers/infiniband/hw/ipath/ipath_init_chip.c
@@ -508,9 +508,9 @@ static void enable_chip(struct ipath_devdata *dd,
508 * enable port 0 receive, and receive interrupt. other ports 508 * enable port 0 receive, and receive interrupt. other ports
509 * done as user opens and inits them. 509 * done as user opens and inits them.
510 */ 510 */
511 dd->ipath_rcvctrl = INFINIPATH_R_TAILUPD | 511 dd->ipath_rcvctrl = (1ULL << dd->ipath_r_tailupd_shift) |
512 (1ULL << INFINIPATH_R_PORTENABLE_SHIFT) | 512 (1ULL << dd->ipath_r_portenable_shift) |
513 (1ULL << INFINIPATH_R_INTRAVAIL_SHIFT); 513 (1ULL << dd->ipath_r_intravail_shift);
514 ipath_write_kreg(dd, dd->ipath_kregs->kr_rcvctrl, 514 ipath_write_kreg(dd, dd->ipath_kregs->kr_rcvctrl,
515 dd->ipath_rcvctrl); 515 dd->ipath_rcvctrl);
516 516