ramips: indicate support for ALL5003
authorGabor Juhos <juhosg@openwrt.org>
Sun, 3 Mar 2013 12:47:25 +0000 (12:47 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 3 Mar 2013 12:47:25 +0000 (12:47 +0000)
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

target/linux/ramips/base-files/lib/ramips.sh
target/linux/ramips/files/arch/mips/ralink/rt305x/mach-all5002.c

index 4687856e6f3590affd255026a9f6fe26be6c307d..4b3e362accb02f419334de7b86ddfab3e5360e4c 100755 (executable)
@@ -32,7 +32,7 @@ ramips_board_detect() {
        *"Allnet ALL0256N")
                name="all0256n"
                ;;
-       *"Allnet ALL5002")
+       *"Allnet ALL5002/ALL5003")
                name="all5002"
                ;;
        *"ARC FreeStation5")
index 151671acbc42d90870fe10fb12da4c7948c5956d..71938f028cd11f22a043826d04594b39153914d7 100644 (file)
@@ -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);