Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88463
b: refs/heads/master
c: 6358ae2
h: refs/heads/master
i:
  88461: 901a5d2
  88459: 78f61fa
  88455: 6ef154e
  88447: f355d6b
v: v3
  • Loading branch information
Roland Dreier committed Apr 17, 2008
1 parent 35b28c6 commit 3e09411
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6ef6aee2f0ff111a2439b02b9d788097ca82f9d1
refs/heads/master: 6358ae25fd0d8cb4eab5e4e152ade8ac406b5278
8 changes: 4 additions & 4 deletions trunk/drivers/infiniband/hw/ipath/ipath_init_chip.c
Original file line number Diff line number Diff line change
Expand Up @@ -523,16 +523,16 @@ static void enable_chip(struct ipath_devdata *dd,
* initial values of the generation bit correct.
*/
for (i = 0; i < dd->ipath_pioavregs; i++) {
__le64 val;
__le64 pioavail;

/*
* Chip Errata bug 6641; even and odd qwords>3 are swapped.
*/
if (i > 3 && (dd->ipath_flags & IPATH_SWAP_PIOBUFS))
val = dd->ipath_pioavailregs_dma[i ^ 1];
pioavail = dd->ipath_pioavailregs_dma[i ^ 1];
else
val = dd->ipath_pioavailregs_dma[i];
dd->ipath_pioavailshadow[i] = le64_to_cpu(val);
pioavail = dd->ipath_pioavailregs_dma[i];
dd->ipath_pioavailshadow[i] = le64_to_cpu(pioavail);
}
/* can get counters, stats, etc. */
dd->ipath_flags |= IPATH_PRESENT;
Expand Down

0 comments on commit 3e09411

Please sign in to comment.