projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[mcs814x] more convertions to {read,write}_relaxed I/O accessors
[openwrt.git]
/
target
/
linux
/
mcs814x
/
files-3.3
/
arch
/
arm
/
mach-mcs814x
/
common.c
diff --git
a/target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/common.c
b/target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/common.c
index
b679c04
..
68b0a0d
100644
(file)
--- a/
target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/common.c
+++ b/
target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/common.c
@@
-89,12
+89,12
@@
static void mcs814x_eth_buffer_shifting_set(u8 value)
{
u8 reg;
{
u8 reg;
- reg =
__raw_readb
(mcs814x_sysdbg_base + SYSDBG_SYSCTL_MAC);
+ reg =
readb_relaxed
(mcs814x_sysdbg_base + SYSDBG_SYSCTL_MAC);
if (value)
reg |= BUF_SHIFT_BIT;
else
reg &= ~BUF_SHIFT_BIT;
if (value)
reg |= BUF_SHIFT_BIT;
else
reg &= ~BUF_SHIFT_BIT;
-
__raw_writeb
(reg, mcs814x_sysdbg_base + SYSDBG_SYSCTL_MAC);
+
writeb_relaxed
(reg, mcs814x_sysdbg_base + SYSDBG_SYSCTL_MAC);
}
static struct of_device_id mcs814x_eth_ids[] __initdata = {
}
static struct of_device_id mcs814x_eth_ids[] __initdata = {