From cf20e81492b213aeb9c907d35ca348e726cd4f26 Mon Sep 17 00:00:00 2001 From: florian Date: Mon, 15 Oct 2007 16:13:25 +0000 Subject: 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 --- target/linux/rdc/files/arch/i386/mach-rdc/Makefile | 2 +- target/linux/rdc/files/arch/i386/mach-rdc/setup.c | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 target/linux/rdc/files/arch/i386/mach-rdc/setup.c (limited to 'target/linux/rdc/files/arch') 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 +#include +#include +#include +#include + +char * __init machine_specific_memory_setup(void) +{ + return "RDC R-321x"; +} -- cgit v1.2.3