projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a watchdog driver for rdc321x (needs testing) and try to detect the rdc cpu
[openwrt-10.03/.git]
/
target
/
linux
/
rdc-2.6
/
files
/
include
/
asm-i386
/
mach-rdc
/
rdc321x_defs.h
diff --git
a/target/linux/rdc-2.6/files/include/asm-i386/mach-rdc/rdc321x_defs.h
b/target/linux/rdc-2.6/files/include/asm-i386/mach-rdc/rdc321x_defs.h
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..838ba8f64fd3c6213c4af68dc4b225932c44306b 100644
(file)
--- a/
target/linux/rdc-2.6/files/include/asm-i386/mach-rdc/rdc321x_defs.h
+++ b/
target/linux/rdc-2.6/files/include/asm-i386/mach-rdc/rdc321x_defs.h
@@
-0,0
+1,6
@@
+#define PFX "rdc321x: "
+
+/* General purpose configuration and data registers */
+#define RDC3210_CFGREG_ADDR 0x0CF8
+#define RDC3210_CFGREG_DATA 0x0CFC
+#define RDC_MAX_GPIO 0x3A