aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/rdc321x_defs.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-18 19:37:21 +0100
committerIngo Molnar <mingo@elte.hu>2009-01-18 19:39:18 +0100
commit5662a2f8e7313f78d6b17ab383f3e4f04971c335 (patch)
tree31468d262e5e052c2727d5c5ca671b8a2facc989 /arch/x86/include/asm/rdc321x_defs.h
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband (diff)
downloadlinux-dev-5662a2f8e7313f78d6b17ab383f3e4f04971c335.tar.xz
linux-dev-5662a2f8e7313f78d6b17ab383f3e4f04971c335.zip
x86, rdc321x: remove/move leftover files
Impact: cleanup Move/remove leftover RDC321 files. Now that it's not a subarch anymore, arch/x86/mach-rdc321x and arch/x86/include/asm/mach-rdc321x/ are not needed. One include file was still in use: rdc321x_defs.h, move that to the generic x86 asm header directory. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/rdc321x_defs.h')
-rw-r--r--arch/x86/include/asm/rdc321x_defs.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/x86/include/asm/rdc321x_defs.h b/arch/x86/include/asm/rdc321x_defs.h
new file mode 100644
index 000000000000..c8e9c8bed3d0
--- /dev/null
+++ b/arch/x86/include/asm/rdc321x_defs.h
@@ -0,0 +1,12 @@
+#define PFX "rdc321x: "
+
+/* General purpose configuration and data registers */
+#define RDC3210_CFGREG_ADDR 0x0CF8
+#define RDC3210_CFGREG_DATA 0x0CFC
+
+#define RDC321X_GPIO_CTRL_REG1 0x48
+#define RDC321X_GPIO_CTRL_REG2 0x84
+#define RDC321X_GPIO_DATA_REG1 0x4c
+#define RDC321X_GPIO_DATA_REG2 0x88
+
+#define RDC321X_MAX_GPIO 58