Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284743
b: refs/heads/master
c: 015ce7d
h: refs/heads/master
i:
  284741: a33b60e
  284739: 71ad9a5
  284735: 1476b71
v: v3
  • Loading branch information
Maxime Bizon authored and Ralf Baechle committed Dec 7, 2011
1 parent 63d67f9 commit 3fcf9ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 37c42a741f6c2c76dc5e61650e5d66dd20540aaf
refs/heads/master: 015ce7d3526be8a969390fe625cb18f958e85a51
2 changes: 2 additions & 0 deletions trunk/arch/mips/include/asm/mach-bcm63xx/bcm63xx_io.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,11 @@
#define bcm_readb(a) (*(volatile unsigned char *) BCM_REGS_VA(a))
#define bcm_readw(a) (*(volatile unsigned short *) BCM_REGS_VA(a))
#define bcm_readl(a) (*(volatile unsigned int *) BCM_REGS_VA(a))
#define bcm_readq(a) (*(volatile u64 *) BCM_REGS_VA(a))
#define bcm_writeb(v, a) (*(volatile unsigned char *) BCM_REGS_VA((a)) = (v))
#define bcm_writew(v, a) (*(volatile unsigned short *) BCM_REGS_VA((a)) = (v))
#define bcm_writel(v, a) (*(volatile unsigned int *) BCM_REGS_VA((a)) = (v))
#define bcm_writeq(v, a) (*(volatile u64 *) BCM_REGS_VA((a)) = (v))

/*
* IO helpers to access register set for current CPU
Expand Down

0 comments on commit 3fcf9ae

Please sign in to comment.