projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bbd806a
)
vlynq: revert volatiles until we find a good way to remove them
author
Matteo Croce
<rootkit85@yahoo.it>
Mon, 7 Apr 2008 14:30:20 +0000
(14:30 +0000)
committer
Matteo Croce
<rootkit85@yahoo.it>
Mon, 7 Apr 2008 14:30:20 +0000
(14:30 +0000)
SVN-Revision: 10760
target/linux/ar7/files/arch/mips/ar7/clock.c
patch
|
blob
|
history
diff --git
a/target/linux/ar7/files/arch/mips/ar7/clock.c
b/target/linux/ar7/files/arch/mips/ar7/clock.c
index 450769e7fd5c18e8a97986cf0766a0fc0e22941f..0f7e2d7eeb33fc3b6bca365fe5b2bea6984afc7a 100644
(file)
--- a/
target/linux/ar7/files/arch/mips/ar7/clock.c
+++ b/
target/linux/ar7/files/arch/mips/ar7/clock.c
@@
-48,12
+48,12
@@
#define TNETD7200_DEF_USB_CLK 48000000
struct tnetd7300_clock {
#define TNETD7200_DEF_USB_CLK 48000000
struct tnetd7300_clock {
- u32 ctrl;
+
volatile
u32 ctrl;
#define PREDIV_MASK 0x001f0000
#define PREDIV_SHIFT 16
#define POSTDIV_MASK 0x0000001f
u32 unused1[3];
#define PREDIV_MASK 0x001f0000
#define PREDIV_SHIFT 16
#define POSTDIV_MASK 0x0000001f
u32 unused1[3];
- u32 pll;
+
volatile
u32 pll;
#define MUL_MASK 0x0000f000
#define MUL_SHIFT 12
#define PLL_MODE_MASK 0x00000001
#define MUL_MASK 0x0000f000
#define MUL_SHIFT 12
#define PLL_MODE_MASK 0x00000001
@@
-71,17
+71,17
@@
struct tnetd7300_clocks {
};
struct tnetd7200_clock {
};
struct tnetd7200_clock {
- u32 ctrl;
+
volatile
u32 ctrl;
u32 unused1[3];
#define DIVISOR_ENABLE_MASK 0x00008000
u32 unused1[3];
#define DIVISOR_ENABLE_MASK 0x00008000
- u32 mul;
- u32 prediv;
- u32 postdiv;
- u32 postdiv2;
+
volatile
u32 mul;
+
volatile
u32 prediv;
+
volatile
u32 postdiv;
+
volatile
u32 postdiv2;
u32 unused2[6];
u32 unused2[6];
- u32 cmd;
- u32 status;
- u32 cmden;
+
volatile
u32 cmd;
+
volatile
u32 status;
+
volatile
u32 cmden;
u32 padding[15];
};
u32 padding[15];
};