aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/rdc/files/arch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-10-15 16:13:25 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-10-15 16:13:25 +0000
commit9dc51096e6359769946224ea5ce03a88c14c8b8a (patch)
tree459de6073c767dbb4f50ad3b26dc0d7ce060ae60 /target/linux/rdc/files/arch
parent8c96b88b250762afe423dda14af59138baae1949 (diff)
downloadupstream-9dc51096e6359769946224ea5ce03a88c14c8b8a.tar.gz
upstream-9dc51096e6359769946224ea5ce03a88c14c8b8a.tar.bz2
upstream-9dc51096e6359769946224ea5ce03a88c14c8b8a.zip
Add the RDC PCI ids for a fancier PCI device table.Return the system name on boot.
SVN-Revision: 9327
Diffstat (limited to 'target/linux/rdc/files/arch')
-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";
+}