add ALL5003 to board description in mach-all5002.c
adapt detection in user-space accordingly
(no functional changes)

Signed-off-by: Daniel Golle <dgo...@allnet.de>

diff --git a/target/linux/ramips/base-files/lib/ramips.sh 
b/target/linux/ramips/base-files/lib/ramips.sh
index 4687856..4b3e362 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 151671a..71938f0 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);
-- 
1.7.2.5

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to