Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 173398
b: refs/heads/master
c: 913df44
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mundt committed Oct 13, 2009
1 parent 0b33827 commit 1d6b880
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 54d5102fac3dd4034104e1b38a44a873d5f3a8d3
refs/heads/master: 913df4453f85f1fe79b35ecf3c9a0c0b707d22a2
4 changes: 2 additions & 2 deletions trunk/drivers/sh/maple/maple.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ static void maple_dma_reset(void)
* max delay is 11
*/
ctrl_outl(MAPLE_2MBPS | MAPLE_TIMEOUT(0xFFFF), MAPLE_SPEED);
ctrl_outl(PHYSADDR(maple_sendbuf), MAPLE_DMAADDR);
ctrl_outl(virt_to_phys(maple_sendbuf), MAPLE_DMAADDR);
ctrl_outl(1, MAPLE_ENABLE);
}

Expand Down Expand Up @@ -258,7 +258,7 @@ static void maple_build_block(struct mapleq *mq)
maple_lastptr = maple_sendptr;

*maple_sendptr++ = (port << 16) | len | 0x80000000;
*maple_sendptr++ = PHYSADDR(mq->recvbuf->buf);
*maple_sendptr++ = virt_to_phys(mq->recvbuf->buf);
*maple_sendptr++ =
mq->command | (to << 8) | (from << 16) | (len << 24);
while (len-- > 0)
Expand Down

0 comments on commit 1d6b880

Please sign in to comment.