diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-03-03 12:47:25 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-03-03 12:47:25 +0000 |
commit | 50e51e5eccc6ee2f9c87e880f6520ec62f995c6c (patch) | |
tree | f77c570743d83ebab629446e0c878bc713fe022f /target/linux | |
parent | 367ab0a40fede68d1a8e3299f638bb3544444f26 (diff) | |
download | upstream-50e51e5eccc6ee2f9c87e880f6520ec62f995c6c.tar.gz upstream-50e51e5eccc6ee2f9c87e880f6520ec62f995c6c.tar.bz2 upstream-50e51e5eccc6ee2f9c87e880f6520ec62f995c6c.zip |
ramips: indicate support for ALL5003
add ALL5003 to board description in mach-all5002.c
adapt detection in user-space accordingly
(no functional changes)
Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35851
Diffstat (limited to 'target/linux')
-rwxr-xr-x | target/linux/ramips/base-files/lib/ramips.sh | 2 | ||||
-rw-r--r-- | target/linux/ramips/files/arch/mips/ralink/rt305x/mach-all5002.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 4687856e6f..4b3e362acc 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -32,7 +32,7 @@ ramips_board_detect() { *"Allnet ALL0256N") name="all0256n" ;; - *"Allnet ALL5002") + *"Allnet ALL5002/ALL5003") name="all5002" ;; *"ARC FreeStation5") diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-all5002.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-all5002.c index 151671acbc..71938f028c 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-all5002.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-all5002.c @@ -57,5 +57,5 @@ static void __init all5002_init(void) rt305x_register_usb(); } -MIPS_MACHINE(RAMIPS_MACH_ALL5002, "ALL5002", "Allnet ALL5002", +MIPS_MACHINE(RAMIPS_MACH_ALL5002, "ALL5002", "Allnet ALL5002/ALL5003", all5002_init); |