summaryrefslogtreecommitdiff
path: root/target/linux/rdc/files/arch/i386
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-10-15 16:13:25 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-10-15 16:13:25 +0000
commitcf20e81492b213aeb9c907d35ca348e726cd4f26 (patch)
treea7ed1100d4a96faf099a9572764ef986ddf6d1b4 /target/linux/rdc/files/arch/i386
parentcfe57b0b5f8537ac4e9b6d2e3c15c291d86e6063 (diff)
Add the RDC PCI ids for a fancier PCI device table.Return the system name on boot.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9327 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rdc/files/arch/i386')
-rw-r--r--target/linux/rdc/files/arch/i386/mach-rdc/Makefile2
-rw-r--r--target/linux/rdc/files/arch/i386/mach-rdc/setup.c14
2 files changed, 15 insertions, 1 deletions
diff --git a/target/linux/rdc/files/arch/i386/mach-rdc/Makefile b/target/linux/rdc/files/arch/i386/mach-rdc/Makefile
index 5961bc7910..07a92038d0 100644
--- a/target/linux/rdc/files/arch/i386/mach-rdc/Makefile
+++ b/target/linux/rdc/files/arch/i386/mach-rdc/Makefile
@@ -1,5 +1,5 @@
#
# Makefile for the RDC321x specific parts of the kernel
#
-obj-$(CONFIG_X86_RDC) := gpio.o platform.o wdt.o
+obj-$(CONFIG_X86_RDC) := gpio.o platform.o wdt.o setup.o
diff --git a/target/linux/rdc/files/arch/i386/mach-rdc/setup.c b/target/linux/rdc/files/arch/i386/mach-rdc/setup.c
new file mode 100644
index 0000000000..ad206c3d05
--- /dev/null
+++ b/target/linux/rdc/files/arch/i386/mach-rdc/setup.c
@@ -0,0 +1,14 @@
+/*
+ * Machine specific setup for generic
+ */
+
+#include <linux/init.h>
+#include <linux/interrupt.h>
+#include <asm/arch_hooks.h>
+#include <asm/io.h>
+#include <asm/setup.h>
+
+char * __init machine_specific_memory_setup(void)
+{
+ return "RDC R-321x";
+}