diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-10-15 16:13:25 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-10-15 16:13:25 +0000 |
commit | b8d47028266467402f61f30e5d6b0eedaf2e4e9d (patch) | |
tree | a7ed1100d4a96faf099a9572764ef986ddf6d1b4 /target/linux/rdc/files/arch | |
parent | c124ac84802956304eeb5156a9b972448f0c0ab4 (diff) | |
download | master-187ad058-b8d47028266467402f61f30e5d6b0eedaf2e4e9d.tar.gz master-187ad058-b8d47028266467402f61f30e5d6b0eedaf2e4e9d.tar.bz2 master-187ad058-b8d47028266467402f61f30e5d6b0eedaf2e4e9d.zip |
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')
-rw-r--r-- | target/linux/rdc/files/arch/i386/mach-rdc/Makefile | 2 | ||||
-rw-r--r-- | target/linux/rdc/files/arch/i386/mach-rdc/setup.c | 14 |
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"; +} |