ramips: introduce DTS for ALL5003
[openwrt/openwrt.git] / target / linux / ramips / base-files / lib / ramips.sh
index c1355bcadc8a8e11b0cf40e55cd3c5e2f7bdb544..99bdbdd80e754700cadba76a0261138146bbcc2e 100755 (executable)
@@ -48,9 +48,12 @@ ramips_board_detect() {
        *"Allnet ALL0256N")
                name="all0256n"
                ;;
-       *"Allnet ALL5002/ALL5003")
+       *"Allnet ALL5002")
                name="all5002"
                ;;
+       *"Allnet ALL5003")
+               name="all5003"
+               ;;
        *"ARC FreeStation5")
                name="freestation5"
                ;;
@@ -212,7 +215,7 @@ ramips_board_detect() {
                ;;
        *"UR-326N4G Wireless N router")
                name="ur-326n4g"
-               ;;
+               ;;
        *"UR-336UN Wireless N router")
                name="ur-336un"
                ;;
@@ -228,7 +231,7 @@ ramips_board_detect() {
        esac
 
        case "$machine" in
-       *"Allnet ALL5002/ALL5003")
+       *"Allnet ALL500"[23]*)
                all500x_board_detect
                ;;
        esac