Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 46134
b: refs/heads/master
c: b86b30f
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle committed Feb 6, 2007
1 parent 198f430 commit 90444fc
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 3d0f82aea19649a2fd1169cfe63a9b522355386b
refs/heads/master: b86b30f81c7601d9a410d2ce0c64d9ba50d673ae
6 changes: 4 additions & 2 deletions trunk/arch/mips/momentum/jaguar_atx/jaguar_atx_fpga.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@

extern unsigned long ja_fpga_base;

#define JAGUAR_FPGA_WRITE(x,y) writeb(x, ja_fpga_base + JAGUAR_ATX_REG_##y)
#define JAGUAR_FPGA_READ(x) readb(ja_fpga_base + JAGUAR_ATX_REG_##x)
#define __FPGA_REG_TO_ADDR(reg) \
((void *) ja_fpga_base + JAGUAR_ATX_REG_##reg)
#define JAGUAR_FPGA_WRITE(x, reg) writeb(x, __FPGA_REG_TO_ADDR(reg))
#define JAGUAR_FPGA_READ(reg) readb(__FPGA_REG_TO_ADDR(reg))

#endif

0 comments on commit 90444fc

Please sign in to comment.