Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 54016
b: refs/heads/master
c: fee64d1
h: refs/heads/master
v: v3
  • Loading branch information
Uwe Kleine-König authored and Russell King committed Apr 21, 2007
1 parent c905af7 commit a8a2c9b
Show file tree
Hide file tree
Showing 3 changed files with 6 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: fe7fdb80e9e576e181b189d0fae62d35cb30fe4d
refs/heads/master: fee64d1b55af57d7dba41f554769db83d7a32fde
4 changes: 2 additions & 2 deletions trunk/include/asm-arm/arch-netx/netx-regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@
#define NETX_SYSTEM_IOC_MR NETX_SYSTEM_REG(0x08)

/* FIXME: Docs are not consistent */
/* #define NETX_SYSTEM_RES_CR NETX_SYSTEM_REG(0x08) */
#define NETX_SYSTEM_RES_CR NETX_SYSTEM_REG(0x0c)
#define NETX_SYSTEM_RES_CR NETX_SYSTEM_REG(0x08)
/* #define NETX_SYSTEM_RES_CR NETX_SYSTEM_REG(0x0c) */

#define NETX_SYSTEM_PHY_CONTROL NETX_SYSTEM_REG(0x10)
#define NETX_SYSTEM_REV NETX_SYSTEM_REG(0x34)
Expand Down
5 changes: 3 additions & 2 deletions trunk/include/asm-arm/arch-ns9xxx/hardware.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@
~(__REGVAL(reg ## _ ## field, value)))) \
| (__REGVAL(reg ## _ ## field, value))))

# define REGGET(reg, field) \
((reg & (reg ## _ ## field)) / (field & (-field)))
# define REGGET(var, reg, field) \
((var & (reg ## _ ## field)) / \
((reg ## _ ## field) & (-(reg ## _ ## field))))

#else

Expand Down

0 comments on commit a8a2c9b

Please sign in to comment.